QApplication::setLibraryPaths unter Linux funktioniert nicht
Verfasst: 10. Januar 2010 12:54
Hey @all,
ich habe die library pfade wie folgt angepasst:
diese funktionieren unter Windows auch wie gewünscht. Mein Problem ist es nun das diese unter Linux überhaupt nicht funktionieren, was heißt das die Styles, Sprachen udgl. nicht geladen werden. Selbst die sql treiber werden nicht geladen.
Kann mir diesbezüglich jemand helfen?
Vielen Dank im Voraus
LG NoRulez
ich habe die library pfade wie folgt angepasst:
Code: Alles auswählen
QStringList libraryPaths = QStringList()
<< qApp->applicationDirPath()
<< qApp->applicationDirPath().append("/plugins")
<< qApp->applicationDirPath().append("/plugins/sqldrivers")
<< qApp->applicationDirPath().append("/plugins/languages")
<< qApp->applicationDirPath().append("/plugins/modules")
<< qApp->applicationDirPath().append("/plugins/styles");
QApplication::setLibraryPaths(libraryPaths);
Kann mir diesbezüglich jemand helfen?
Vielen Dank im Voraus
LG NoRulez