Bug 74337 - Plastik style broken, when compiled with Qt 3.3
Summary: Plastik style broken, when compiled with Qt 3.3
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kstyle (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Karol Szwed
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 13:21 UTC by Carsten Lohrke
Modified: 2004-02-10 14:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke 2004-02-06 13:21:13 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 

Setting the Plastik style fails and kde falls back to keramik. This happens only with Qt 3.3 but not with Qt 3.2.3. This problem is confirmed by another guy in the Gentoo forums. 

Also the .net style button symbols are a bit displaced.
Comment 1 Carsten Lohrke 2004-02-06 13:24:04 UTC
Argh - sorry for chosing the wrong category - just selected "Styles" in bugzilla...
Comment 2 Maksim Orlovich 2004-02-06 15:20:50 UTC
Remove ~/.qt/qt_plugins3.2rc, and run konqueror --style plastik from a terminal, and paste the output here
Comment 3 Maksim Orlovich 2004-02-06 15:21:55 UTC
~/.qt/qt_plugins_3.3rc, rather, assuming you're using Qt3.3 (you're not trying to run something compiled with Qt3.3 w/Qt 3.2, are you?)
Comment 4 Carsten Lohrke 2004-02-06 15:51:53 UTC
Conflict in /usr/lib/kde3/plugins/styles/plastik.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config no-ipv6", got "i686 Linux g++-3.* full-config".
Conflict in /usr/kde/3.2/lib/kde3/plugins/styles/scheck.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config no-ipv6", got "i686 Linux g++-3.* full-config".
kdecore (KIconLoader): WARNING: Icon directory /home/carsten/.kde3.2/share/icons/slick/ group  not valid.
kdecore (KIconLoader): WARNING: Icon directory /usr/kde/3.2/share/icons/slick/ group  not valid.
konqueror: WARNING: addBindingsClass() KJSEmbed::KJSEmbedPart not known
konqueror: WARNING: addBindingsClass() KJSEmbed::Bindings::Config not known
kjsembed: WARNING: findSignature: not supported type stackUnder(QWidget*)
konqueror: WARNING: addBindingsClass() KJSEmbed::JSConsoleWidget not known
kjsembed: WARNING: findSignature: not supported type stackUnder(QWidget*)
kjsembed: WARNING: findSignature: not supported type slotFillContextMenu(const KBookmark&,QPopupMenu*)
kjsembed: WARNING: findSignature: not supported type slotReload(KonqView*)
kjsembed: WARNING: findSignature: not supported type slotPartChanged(KonqView*,KParts::ReadOnlyPart*,KParts::ReadOnlyPart*)
kjsembed: WARNING: findSignature: not supported type slotPartActivated(KParts::Part*)
konqueror: WARNING: addBindingsClass() KonqMainWindow not known
konqueror: WARNING: addBindingsClass() KApplication not known
kdecore (KIconLoader): WARNING: Icon directory /home/carsten/.kde3.2/share/icons/slick/ group  not valid.
kdecore (KIconLoader): WARNING: Icon directory /usr/kde/3.2/share/icons/slick/ group  not valid.
Comment 5 Maksim Orlovich 2004-02-06 16:08:53 UTC
Well, your Qt headers are for a Qt w/different build settings than the actual library, so Qt will not load any plugins built w//them. Please report to whoever did your Qt packages. 
Comment 6 Carsten Lohrke 2004-02-06 16:30:06 UTC
Yes, noticed that too. But I didn't compiled in any ipv6 support on my system.

These are the flags used to compile Qt:

-system-nas-sound -qt-gif -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql -plugin-sql-psql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -plugin-sql-ibase -cups -enable-module=opengl -release -no-g++-exceptions -system-zlib -no-ipv6

I'll compile it again. Maybe there is a bug in Qt that makes it always include ipv6 support.
Comment 7 Maksim Orlovich 2004-02-06 16:35:17 UTC
Any chance you forgot to install the headers? The headers you built kdeartwork with say that Qt was built with IP6, while Qt says it was built without it, as you expect it.. The thing to check is QT_BUILD_KEY in qglobal.h,; including the one in the Qt build dir, and the one that's actually installed. 
(You can probably fudge the installed one to add the no-ipv6 and rebuild plastik if you didn't keep the build dir)
Comment 8 Carsten Lohrke 2004-02-06 18:13:24 UTC
qconfig.h:#define QT_BUILD_KEY "i686 Linux g++-3.* full-config no-ipv6"
qglobal.h:#ifndef QT_BUILD_KEY
qglobal.h:#define QT_BUILD_KEY "unspecified"

Qt is installed fine...
Comment 9 Carsten Lohrke 2004-02-10 14:05:58 UTC
If anyone has the same problem. I just forgot to compile kdeaddons again after switching from Qt 2.3.2 to Qt 3.3.