View Single Post
Posts: 64 | Thanked: 109 times | Joined on Mar 2010
#6
I've tried to compile experimental Harmattan project in QtCreator (part of QtSDK) Ubuntu 10.04, and always get error:

Code:
make: Entering directory `/home/mauro/dev/harmattanqt-build-harmattan'
g++ -c -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -Wno-psabi -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/include/applauncherd -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/QtSDK/Madde/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/usr/share/qt4/mkspecs/linux-g++-maemo -I../harmattanqt -I/opt/QtSDK/Madde/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/usr/include/qt4/QtCore -I/opt/QtSDK/Madde/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/usr/include/qt4/QtGui -I/opt/QtSDK/Madde/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/usr/include/qt4/QtDeclarative -I/opt/QtSDK/Madde/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/usr/include/qt4 -I. -I../harmattanqt -I. -o main.o ../harmattanqt/main.cpp
../harmattanqt/main.cpp:1: fatal error: QtGui/QApplication: No such file or directory
compilation terminated.
I realized that g++ has problem with such a long includes paths. So I've had symlinked includes directories to shorter paths. And Madde is compiling again.