| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 3 | |
Hello, I have developed a software using qt3 libs provided by mandriva. Now I have built qt3.3.8 from souces with _static_ libs. But with these new static libs, my application looks horrible! I am unable to use Keramic, Ia Ora or other mandriva themes. I have read thousand of things about this problem but none solved my problem: -> I added path to qtconfig, but it fails to find mandriva themes -> QT_BUILD_KEY seems to be the same between my new qt3.3.8 lib and mandriva qt libs It seems that because my app uses static qt libs, I can't load plugins and then I can't add any theme at runtime. I read somewhere that I should add these themes at compile time. If so, could someone explain me in detail how to proceed ? (I have source package for ia_ora, Keramic, ... mandriva themes, but I can't figure out how to add these themes into qt-3.3.8 source tree) Thanks -- [ signature omitted ]
i don't know if it's different in Qt3 (btw. you should upgrade ;-) but in Qt4 you do it with Q_IMPORT_PLUGIN(): http://doc.trolltech.com/4.3/plugins-howto.html#static-plugins Cheers, Peter > -----Ursprüngliche Nachricht----- > Von: xunile@xxxxxxxxxx [mailto:xunile@xxxxxxxxxx] > Gesendet: Freitag, 11. April 2008 17:27 > An: qt-interest@xxxxxxxxxxxxx > Betreff: Using other theme with qt static build > > Hello, > > I have developed a software using qt3 libs provided by mandriva. > Now I have built qt3.3.8 from souces with _static_ libs. > But with these new static libs, my application looks horrible! I am > unable to use Keramic, Ia Ora or other mandriva themes. > > I have read thousand of things about this problem but none solved my > problem: > -> I added path to qtconfig, but it fails to find mandriva themes > -> QT_BUILD_KEY seems to be the same between my new qt3.3.8 lib and > mandriva qt libs > > It seems that because my app uses static qt libs, I can't > load plugins > and then I can't add any theme at runtime. > I read somewhere that I should add these themes at compile > time. If so, > could someone explain me in detail how to proceed ? > (I have source package for ia_ora, Keramic, ... mandriva > themes, but I > can't figure out how to add these themes into qt-3.3.8 source tree) > > Thanks > > -- > To unsubscribe - send a mail to > qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the > subject or the body. > List archive and information: http://lists.trolltech.com/qt-interest/ > > -- [ signature omitted ]
On Friday 11 April 2008 17:27:02 xunile@xxxxxxxxxx wrote: > It seems that because my app uses static qt libs, I can't load plugins > and then I can't add any theme at runtime. That's correct. You can't load Qt plugins for a static build. You have to have those plugins statically linked as well. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.