while(engine) { int idCount = 1; for (int slot = 0 ; slot < MAX_ENGINE_SLOTS ; slot++ ) { QString slotid = "slot_" + QString().setNum(slot) + "-id_" + QString().setNum(idCount) ; struct { const char * slot_id; X509 * cert; } parms = {slotid,NULL}; kossl->ENGINE_ctrl_cmd(engine, "LOAD_CERT_CTRL",0, &parms, NULL, 0); if (!parms.cert) { idCount = 1 ; continue; } idCount++; I../../kio/kio -I../../kio/kfile -I../.. -I/usr/lib64/qt-3.3/include -I. -I/usr/include/kde -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o libkssl_la.all_cc.lo libkssl_la.all_cc.cc ksslcertificatehome.cc: In function 'QStringList getEngineCerts()': ksslcertificatehome.cc:48: error: cannot convert 'QString' to 'const char*' in initialization