Hi all,

I am able to run a sample database application using sqlite on Desktop.

If i try to cross-compile same code for am335x EVM board ,an error occurs 
,which terminates compilation.


Please find the below screenshot :


[linux-devkit]:/home/sona/Desktop/HMIApp> make
arm-linux-gnueabihf-g++ -c -pipe -pipe -pipe  -march=armv7-a -marm 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 
--sysroot=/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi
  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon 
-mtune=cortex-a8 
--sysroot=/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi
 -O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_QWS_CLIENTBLIT 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I../../TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++
 -I. 
-I/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/include/qtopia/QtCore
 
-I/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/include/qtopia/QtGui
 
-I/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/include/qtopia
 -I. -I. -I. -o datahandler.o datahandler.cpp
In file included from datahandler.h:5:0,
                 from datahandler.cpp:1:
dbmanager.h:5:24: fatal error: QSqlDatabase: No such file or directory
compilation terminated.
make: *** [datahandler.o] Error 1


Best Regards
Sona


============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to