LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2011, 07:57 PM   #1
mei0fei
Member
 
Registered: Jul 2011
Posts: 38

Rep: Reputation: Disabled
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)
 
Old 08-26-2011, 07:59 PM   #2
mei0fei
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
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>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Sqlite-Commander - A ncurses based tool to display the records and tables of a sqlite database LXer Syndicated Linux News 0 01-02-2011 08:11 AM
Sqlite Database image malformed ravindranvasudevan Programming 6 08-10-2009 03:37 AM
[python] sqlite: Can you combine two database files? BrianK Programming 6 09-11-2008 06:59 AM
SQLite database security - doesn't exist? vharishankar Linux - Security 2 11-30-2005 08:40 PM
SQLite database backup ddpicard Linux - Software 2 11-01-2004 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration