[Qtscript-bindings] building on distros that split up the Qt package
Ian Monroe
ian at monroe.nu
Fri Aug 1 08:05:24 CEST 2008
Qt4 has stopped being so atomic in some distros. Opensuse splits off
QtWebKit4 into its own package. The result of this is documented at
the bug I just submitted:
https://bugzilla.novell.com/show_bug.cgi?id=413829
Basically qconfig.h cannot be accurate, since the core of Qt might be
compiled with QtWebKit off, and then QtWebkit is later compiled and
packaged seperatedly.
Writing the bug made me realize a solution for my problem. If you look
at the macro from qconfig.h:
#if defined(QT_NO_WEBKIT) && defined(QT_WEBKIT)
# undef QT_NO_WEBKIT
#elif !defined(QT_NO_WEBKIT) && !defined(QT_WEBKIT)
# define QT_NO_WEBKIT
#endif
It appears that adding a -DQT_WEBKIT to the build would make sure that
QT_NO_WEBKIT was never defined and hopefully the generator would go
and do the right thing.
However this isn't the case, even with -DQT_WEBKIT the webkit files
aren't generated.
What mechanism decides what is generated or not?
Ian
More information about the Qtscript-bindings
mailing list