Build error for simple application when application is created with QT

Build error for simple application when application is created with QT

Followed instructions on the following page and created simple application and built it. Did not change or add single line of code in any files generated by QT project. http://appdeveloper.intel.com/en-us/article/integrating-your-meego-application-appup-sdk-windows Built the application I see following erros. Running build steps for project Sample_test... Configuration unchanged, skipping qmake step. Starting: "C:\meegosdk_1.2\madde\bin\make.exe" -w make: Entering directory `/c/MeeGoSDK_1.2/QtCreator/bin/Sample_test' g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/share/qt4/mkspecs/default -I. -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/include/qt4/QtCore -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/include/qt4/QtGui -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/include/qt4 -I../../../../Program\ Files\ (x86)/Intel/IntelAppUpSDKMeeGo/Cpp/include -I. -I. -o main.o main.cpp make: Leaving directory `/c/MeeGoSDK_1.2/QtCreator/bin/Sample_test' /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: line 0: `g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/share/qt4/mkspecs/default -I. -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/include/qt4/QtCore -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/include/qt4/QtGui -I../../../MADDE/sysroots/meego-core-ia32-madde-sysroot-1.1.20110106.1139-fs/usr/include/qt4 -I../../../../Program\ Files\ (x86)/Intel/IntelAppUpSDKMeeGo/Cpp/include -I. -I. -o main.o main.cpp' make: *** [main.o] Error 2 The process "C:\meegosdk_1.2\madde\bin\make.exe" exited with code 2. Error while building project Sample_test (target: MeeGo) When executing build step 'Make'
2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

It seems to be the problem with the .Pro file path setup.

Following lines are there in pro file.

===================================================================
unix{
INCLUDEPATH += "$$(IADP_SDK_DIR_MEEGO)Cpp\include"
LIBS += -lxml2\
-lpthread
LIBS += "$$(IADP_SDK_DIR_MEEGO)Cpp\lib\libadpruntime.a"\
"$$(IADP_SDK_DIR_MEEGO)Cpp\lib\libadpcore.a"\
"$$(IADP_SDK_DIR_MEEGO)Cpp\lib\libxerces-c.a"\
"$$(IADP_SDK_DIR_MEEGO)Cpp\lib\libxml-security-c.a"\
"$$(IADP_SDK_DIR_MEEGO)Cpp\lib\libcrypto.a"

}
===================================================================

(IADP_SDK_DIR_MEEGO) is set to C:\Program Files (x86)\Intel\IntelAppUpSDKMeeGo\

QT pro file does not like (x86) in the path. I have added above lines to link AppUpSDK directories.

I have included the file C:\Program Files (x86)\Intel\IntelAppUpSDKMeeGo\Cpp\include\adpcppf.h

If I include entire path in .cpp file it works fine. If I Set directory in PRO file. Build fails because of the (x86) . QT does not like '(' it seems.

QT HAS ISSUES WITH WINDOWS 7 64 bit?

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi