AW: [Hbasic-userinfo] More compile errors
Status: Beta
Brought to you by:
mengels
From: Engels, M. <Mar...@SP...> - 2004-01-14 06:00:11
|
Hi, I think the problem should be your version of the Qt library. It looks = like you are using Qt 3.1.*. Starting with version Qt 3.2 the parameter for = the removeDatabase function has changed. The function using a QString = parameter has become obsolete. Since Qt 3.2 is available since several months now = I have decided to use the new version of the Qt library with version = 0.9.9h. This means Qt >=3D 3.2 has become a prerequisite. This might also be = the reason for your other problem. Please try to find a newer Qt version for your distribution and try = again. Marcus=20 -----Urspr=FCngliche Nachricht----- Von: misfit-x [mailto:mis...@ph...] Gesendet: Dienstag, 13. Januar 2004 20:54 An: HBasic List Betreff: [Hbasic-userinfo] More compile errors I've been able to compile past the autocheck by using a program called Kconfigure. This time, I got this from Make: gcc -g -O2 -g -c -I/usr/lib/qt-3.1/include -I/usr/include/kde/ -I../source_editor -I ../include -I../src -I../runtime_lib -I../runtime_lib/interpreter -I../gui_db_access -o project_tree.o project_tree.cpp project_tree.cpp: In member function `void=20 ProjectTree::slotDisconnectDatabase()': project_tree.cpp:1564: no matching function for call to `QSqlDatabase:: removeDatabase(QSqlDatabase*&)' /usr/lib/qt-3.1/include/qsqldatabase.h:125: candidates are: static void = QSqlDatabase::removeDatabase(const QString&) make[1]: *** [project_tree.o] Error 1 rm package_list.moc.cpp basic_document.moc.cpp project_group.moc.cpp package_manager.moc.cpp debug_widget1.moc.cpp project.moc.cpp debug_widget2.moc.cpp mainwindow.moc.cpp hbdatabase.moc.cpp formdesigner.moc.cpp hbformwindow.moc.cpp pixmapchooser.moc.cpp message_list.moc.cpp make[1]: Leaving directory `/home/user01/work/HBasic/Source/src' make: *** [src/libhbasic.a] Error 2 The configure file was the original, not the one in the bz2 archive. I set Kconfigure up with these arguements: --exec-prefix=3D/opt/apps/hbasic --prefix=3D/opt/pass/hbasic --with-kdeui=3Dyes --with-mysqlcc=3Dno It looks like (and I'm not at all sure here) that there might be a problem with the SQL database code or something?? --=20 .:: misfit-x ::. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Hbasic-userinfo mailing list Hba...@li... https://lists.sourceforge.net/lists/listinfo/hbasic-userinfo |