I'm trying to do a minimal build from source using qt-everywhere-opensource-src-4.8.1. All I need is Qt scripting and the state machines ie no GUI.
I configured an built using:
./configure -prefix=/my_dir \
-opensource \
-silent \
-no-qt3support \
-no-accessibility \
-no-multimedia \
-no-phonon \
-no-svg \
-no-nis \
-no-cups <<< "yes"
gmake -silent
The configure generated some warnings and errors:
Project ERROR: Package gstreamer-app-0.10 not found
Project WARNING: DEPLOYMENT support required. This project only works on Symbian and WinCE
Project WARNING: Qt Mobility Messaging disabled!
Project ERROR: The Symbian Vibration Example only works for the Symbian target!
Project WARNING: The Maemo Vibration Example only works for the maemo target!
Project MESSAGE: OpenGL support is not available.
WARNING: <current_dir>/src/plugins/s60/feedback.pro:16 Unable to find file for inclusion data_caging paths
Package wayland-client was not found in the pkg-config search path.
Perhaps you should add the directory containing 'wayland-client.pc'
to the PKG_CONFIG_PATH environment variable
No package 'wayland-client' found
WARNING: <current_dir>/src/plugins/platforms/ccoa/cocoa.pro:26: Unable to find file for includion ../fontdatabases/coretext/coretext.pri
Project MESSAGE: Trk: Console ...
gmake produced one errors too:
...
compiling main.cpp
compiling .moc/release-shared/moc_main.cpp
linking ../../../../plugins/script/libqtscriptdbus.so
/usr/bin/ld: cannot find -lQtGui
...
and when I install I get the same linking error on libqtscriptdbus.so.
So a couple of questions:
1. Can I have QtScript without QtGui?
2. Can I have QtScript without QtScriptDbus?
3. What does QtScriptDBus do?
4. Can I prevent the examples and docs being installed?
5. Any other suggestions to minimize the install when all I want is QtCore and QtScript?
Thanks,
Steve
PS I'm building this on a CentOS 6.2 machine.
Added after 5 minutes:
Duh!
I did, of course have the -no-gui option specified on the configure line which I omitted out in my original post.
Bookmarks