Intel P4, Linux FC7, gcc4.1.2, qt-x11: 4.3.3, qt-extended-4.4.3
Hi there, I'm new to the forum and to Qt. Love what you've got going here. I'm trying to build a host image and SDK of a device using Qt Extended 4.4.3. I used the instructions here:
Creating and using binary SDKs
(http://doc.trolltech.com/qtextended4...ry-sdks-1.html)
I followed the instructions exactly (with a slightly different SDK and image path) yet when I runqtopia in my app directory, I always get the following message from qpe:
>************************************************* *********
>* ERROR: Expecting this binary to be located in
>* /opt/qt/sdk/qt-extended-4.4.3/i386/qtopiacore/target/bin/qpe
>* but it is being run from
>* /opt/qt/sdk/qt-extended-4.4.3/i386/image/bin/qpe
>*
>* This generally indicates that you have specified the wrong
>* value for -prefix when configuring Qtopia. Based on the
>* location of this binary, you should be using a prefix of
>*
>************************************************* *********
>
>Unable to initialize task subsystem. Please check '/opt/qt/sdk/qt-extended-4.4.3/i386/qtopiacore/target//etc/Tasks.cfg' exists and its content is valid.
>/tmp/runqtopia.11238: line 26: 11246 Aborted $qpe "$@"
It showed my device skin then died leaving the skin up. Note that the error message gives a blank "suggested" prefix.
My configure command reads so:
/opt/qt/qt-extended-4.4.3/configure -image /opt/qt/sdk/qt-extended-4.4.3/i386/image -device mydevice -confirm-license -qvfb -sdk /opt/qt/sdk/qt-extended-4.4.3/i386
However, configure later executes the following:
configure -embedded i386 -platform linux-g++ -xplatform qws/linux-generic-g++ -prefix
/opt/qt/sdk/qt-extended-4.4.3/i386/qtopiacore/target -make src -make tools -no-stl -no-exceptions -no-xmlpatterns -no-qt3support -no-glib -no-cups -no-dbus -no-accessibility -nomake examples -nomake demos -nomake docs -DQT_QWS_DISABLE_FLUSHCLIPPING -confirm-license -depths 8,16,18,24,32 -qconfig qpe -DQT_NO_PLUGIN_CHECK -DQT_EXTERNAL_SOUND_SERVER -DQT_QWS_KEYEVENT_SINGLECLIENT -force-pkg-config -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -qt-sql-sqlite
-release -qt-gfx-qvfb -qt-mouse-qvfb -qt-kbd-qvfb -qt-gif -DMEDIA_SERVER -no-rpath -no-separate-debug-info -DQT_KEYPAD_NAVIGATION -dbus -DQT_QWS_CLIENTBLIT -little-endian -no-webkit
The "prefix" given by the Embedded config appears to be the one it wants to use, not the one implied by "-image". In other build attempts I have explicitly specified "-prefix" and "-hostprefix" etc., and I have done a "qbuild image IMAGE=/opt/qt/sdk/qt-extended-4.4.3/i386/image", with the same results. It seems determined to use the path from the Embedded config.
I looked at the qtopiacore QLibraryInfo class code to try to find out why it failed. There I discovered the possibility of using qt.conf to change the PrefixPath, but that turned out to be a dead end. It didn't read or even try to find qt.conf before it croaked (this I saw from the strace.out).
Same problem on QT Extended 4.4.2.
I've been beating my head against this one for longer than I want to admit. I'm pretty sure it's a configuration problem because I don't see anyone else yelling about it. Does anyone see where I screwed up?
Thanks in advance,
-Jim
Bookmarks