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 <QSettings>
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
|
#include <QPluginLoader>
|
||||||
|
#include <qplugin.h>
|
||||||
|
|
||||||
MainWindow::MainWindow (QWidget *parent) : QMainWindow (parent)
|
MainWindow::MainWindow (QWidget *parent) : QMainWindow (parent)
|
||||||
{
|
{
|
||||||
|
@ -100,6 +102,8 @@ main (int argc, char **argv)
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
QSettings settings ("XMMS2", "Promoe");
|
QSettings settings ("XMMS2", "Promoe");
|
||||||
|
|
||||||
|
Q_IMPORT_PLUGIN(QJpegPlugin);
|
||||||
|
|
||||||
MainWindow *mw = new MainWindow (NULL);
|
MainWindow *mw = new MainWindow (NULL);
|
||||||
|
|
||||||
PlaylistWindow *playlistwin = new PlaylistWindow (NULL);
|
PlaylistWindow *playlistwin = new PlaylistWindow (NULL);
|
||||||
|
|
|
@ -47,6 +47,9 @@ RESOURCES = promoe.qrc
|
||||||
macx:RC_FILE = promoe.icns
|
macx:RC_FILE = promoe.icns
|
||||||
|
|
||||||
QT += network
|
QT += network
|
||||||
|
QTPLUGIN += qjpeg
|
||||||
|
QMAKE_LFLAGS += -L$$[QT_INSTALL_PLUGINS]/imageformats
|
||||||
|
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
CXXFLAGS += -g
|
CXXFLAGS += -g
|
||||||
;CONFIG += debug warn_on
|
;CONFIG += debug warn_on
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue