Fix jpeg compliation flags for static systems
This commit is contained in:
parent
b8f4b7acb7
commit
3ba5c1b73d
2 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include <QSettings>
|
||||
#include <QIcon>
|
||||
#include <QPluginLoader>
|
||||
#include <qplugin.h>
|
||||
|
||||
MainWindow::MainWindow (QWidget *parent) : QMainWindow (parent)
|
||||
{
|
||||
|
@ -100,6 +102,8 @@ main (int argc, char **argv)
|
|||
QApplication app(argc, argv);
|
||||
QSettings settings ("XMMS2", "Promoe");
|
||||
|
||||
Q_IMPORT_PLUGIN(QJpegPlugin);
|
||||
|
||||
MainWindow *mw = new MainWindow (NULL);
|
||||
|
||||
PlaylistWindow *playlistwin = new PlaylistWindow (NULL);
|
||||
|
|
|
@ -47,6 +47,9 @@ RESOURCES = promoe.qrc
|
|||
macx:RC_FILE = promoe.icns
|
||||
|
||||
QT += network
|
||||
QTPLUGIN += qjpeg
|
||||
QMAKE_LFLAGS += -L$$[QT_INSTALL_PLUGINS]/imageformats
|
||||
|
||||
CONFIG += link_pkgconfig
|
||||
CXXFLAGS += -g
|
||||
;CONFIG += debug warn_on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue