How to run SQLITE in a Windows Mobile Application developed with Qt -


I'm trying to run a simple SQLite application on Windows Mobile with QT. Although I can not manage it, although I have developed other windows mobile applications with Qt. I can not get the basic error mobile device / emulator SQLite driver, because I get a "driver not found" error and the following code snippet with it Prove itself:

  #include & lt; QCoreApplication & gt; # Include & lt; QSqlDatabase & gt; # Include & lt; QStringList & gt; # Include & lt; QtDebug & gt; Int main (int argc, char ** argv) {Querc application application (argc, argv); // Right on the mobile platform and the wrong message on the desktop app. QDebug () & lt; & Lt; QSqlDatabase :: Drivers () empty () .; }  

If you can follow-up, I would appreciate it:

1) Do I specify any flag to use SQLite with it Qt's Such as: Configure -qt-sql-sqlite ? What Configure - Help indicates for those flags:

  -qt-sql- & lt; Driver & gt; ... a SQL & lt; Driver & gt; Enable Qt Library -plugin-sql- & lt; Driver & gt; SQL & lt; Driver & gt;        

Do not compile with the use of IWMMXT instructions: - Compile to use IWMMXT instructions (CUt only for CMS for ARM) * -NO-CRT ............ Do not add default runtime rules to CRT run -qt-CRT. ........... Qt Rojekt identifies the C runtime during generation - CRT & lt; Path & gt; ........ Specify the path for the C runtime to use for project generation. -No-Sett ......... Do NOT compile Windows CE Remote Test App + -Sant ............ Compile Windows CE Remote Test Application-Signature & lt; File & gt; .. Use the file to sign the target project - opengl-es-cm ...... Enable support for OpenGL ES Common -opengl-es-cl ...... OpenGL ES Common Light Enable support for Pengel-Es-2 ....... OpenGL ES 2.0 * -Fonon-Vince-DS9.

2) Which additional files /

-sql-sqlite [actually i configure-platform Otherwise, it will be created with the -plugin-sql-driver flag to solve the problem, win32-msvc2005 -xplatform wincewm60professional-msvc2005 -qt-sql-sqlite ] - I do not know why this does not work.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -