Maybe people stop whining now.

This commit is contained in:
Tobias Rundstrom 2006-03-04 13:42:23 -03:00
parent b0f7061f84
commit ef5a523a8d
2 changed files with 6 additions and 1 deletions

View file

@ -102,7 +102,12 @@ main (int argc, char **argv)
QApplication app(argc, argv); QApplication app(argc, argv);
QSettings settings ("XMMS2", "Promoe"); QSettings settings ("XMMS2", "Promoe");
#ifdef Q_OS_MACX
/** This is soooo wrong, there must exsist a flag for
* static plugins
*/
Q_IMPORT_PLUGIN(QJpegPlugin); Q_IMPORT_PLUGIN(QJpegPlugin);
#endif
MainWindow *mw = new MainWindow (NULL); MainWindow *mw = new MainWindow (NULL);

View file

@ -49,7 +49,7 @@ RESOURCES = promoe.qrc
macx:RC_FILE = promoe.icns macx:RC_FILE = promoe.icns
QT += network QT += network
QTPLUGIN += qjpeg macx:QTPLUGIN += qjpeg
QMAKE_LFLAGS += -L$$[QT_INSTALL_PLUGINS]/imageformats QMAKE_LFLAGS += -L$$[QT_INSTALL_PLUGINS]/imageformats
CONFIG += link_pkgconfig CONFIG += link_pkgconfig