[Qt-embedded-interest] QPE include files for qt embedded 2.3
Scott Klein
sbklein at ncsu.edu
Wed Mar 18 06:43:23 CET 2009
Hey everyone,
I'm very new to all of this and am plugging through it for a senior
design project. I have KDevelop installed and was able to cross-
compile qt embedded 2.3 from source (i know its old). KDevelop booted
and I was able to make a project; however, its struggling to compile
because I don't even have a qpe folder. Is this an extra download or
extraction that I missed? Everything installed into /opt/Qtopia as
per a tutorial i was following. The directory /opt/Qtopia/include has
no folders, just q*.h files (many of them) that I'm assuming are part
of the base qt embedded build.
The following is from the KDevelop console window...
cd '/home/scott/test_app' &&
LD_LIBRARY_PATH="/opt/Qtopia/lib:$LD_LIBRARY_PATH"
PATH="/opt/Qtopia/bin:/opt/Qtopia/tmake/bin:$PATH" QPEDIR="/opt/Qtopia"
QTDIR="/opt/Qtopia"
TMAKEPATH="/opt/Qtopia/tmake/lib/qws/linux-generic-g++" LC_MESSAGES="C"
LC_CTYPE="C" make
compiling main.cpp (g++)
main.cpp:3:32: error: qpe/qpeapplication.h: No such file or directory
main.cpp: In function 'int main(int, char**)':
main.cpp:7: error: 'QPEApplication' was not declared in this scope
main.cpp:7: error: expected `;' before 'a'
main.cpp:10: error: 'a' was not declared in this scope
main.cpp: At global scope:
main.cpp:5: warning: unused parameter 'argc'
main.cpp:5: warning: unused parameter 'argv'
make: *** [main.o] Error 1
*** Exited with status: 2 ***
Any help is greatly appreciated. Also, will the QPE types of headers
and resulting binary suffice for a linux development board that is
running QTopia? I'm hoping that once the program is compiled and
verified that I can just drop a binary onto the actual runtime board
and execute it from within Qtopia.
Thanks,
Scott Klein
More information about the Qt-embedded-interest
mailing list