qdevelop can't connect database and needs sqlite support.
I install qt4, qt4-demos, sqlite3, qdevelop.
and it is ok when I run qtdemo. next I run qdevelop and open a project "mainwindow.pro" , it tell me that qdevelop can't connect database and needs sqlite support. mei@ubuntu:/usr/lib/qt4/plugins/sqldrivers$ ls libqsqlite.so libqsqlmysql.so mei@ubuntu:/usr/lib/qdevelop/plugins$ ls libformatting-astyle.so libtools-regexp-planner.so how can I fix the problem? and I have another question that I want to use Makefile to compile "mainwindow" instead of "mainwindow.pro". thanks. here is the content of "mainwindow.pro" TEMPLATE = app HEADERS += colorswatch.h mainwindow.h toolbar.h SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp build_all:!build_pass { CONFIG -= build_all CONFIG += release } RESOURCES += mainwindow.qrc # install target.path = $$[QT_INSTALL_DEMOS]/mainwindow sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.png *.jpg *.pro sources.path = $$[QT_INSTALL_DEMOS]/mainwindow INSTALLS += target sources symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri) |
here is mainwindow.qrc
<!DOCTYPE RCC><RCC version="1.0"> <qresource prefix="/res"> <file>qt.png</file> <file>titlebarLeft.png</file> <file>titlebarCenter.png</file> <file>titlebarRight.png</file> </qresource> </RCC> |
All times are GMT -5. The time now is 06:14 PM. |