/[qspeakers]/qspeakers.pro
ViewVC logotype

Diff of /qspeakers.pro

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 115, Thu May 12 01:39:00 2016 UTC revision 116, Sun Jun 19 17:59:00 2016 UTC
# Line 13  TARGET = qspeakers Line 13  TARGET = qspeakers
13  TEMPLATE = app  TEMPLATE = app
14    
15  unix: {  unix: {
16      isEmpty(PREFIX):PREFIX = /usr/local      INCLUDEPATH += /usr/include/qwt
17      isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease      equals(QT_MAJOR_VERSION, 4): LIBS = -L/usr/lib -lqwt
18      isEmpty(BINDIR):BINDIR = $$PREFIX/bin      equals(QT_MAJOR_VERSION, 5): LIBS = -L/usr/lib -lqwt-qt5
19      isEmpty(DATADIR):DATADIR = $$PREFIX/share      isEmpty(PREFIX): PREFIX = /usr/local
20        isEmpty(BINDIR): BINDIR = $$PREFIX/bin
21        isEmpty(DATADIR): DATADIR = $$PREFIX/share
22    }
23    
24    win32: {
25        INCLUDEPATH += c:/qwt-6.1.3/include
26        LIBS += c:/qwt-6.1.3/lib/qwt.dll
27        isEmpty(PREFIX): PREFIX = "C:/Program Files/QSpeakers"
28        isEmpty(BINDIR): BINDIR = $$PREFIX
29        isEmpty(DATADIR): DATADIR = $$PREFIX
30  }  }
31    
32  config.input = config.h.in  config.input = config.h.in
# Line 57  FORMS    += mainwindow.ui \ Line 67  FORMS    += mainwindow.ui \
67      listdialog.ui \      listdialog.ui \
68      searchdialog.ui      searchdialog.ui
69    
70  equals(QT_MAJOR_VERSION, 4): LIBS = -lqwt  isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
 equals(QT_MAJOR_VERSION, 5): LIBS = -lqwt-qt5  
71    
72  TRANSLATIONS += \  TRANSLATIONS += \
73      qspeakers_en.ts \      qspeakers_en.ts \
# Line 91  unix: { Line 100  unix: {
100              desktop \              desktop \
101              icon              icon
102  }  }
103    
104    win32: {
105        target.path = $$BINDIR
106        database.path = $$DATADIR/qspeakers
107        database.files = qspeakers_db.xml
108        translations.path = $$DATADIR/$${TARGET}
109        translations.files = $${LOCALE_DIR}
110        RC_ICONS += qspeakers.ico
111        INSTALLS += target \
112                database \
113                translations \
114    }

Legend:
Removed from v.115  
changed lines
  Added in v.116

  ViewVC Help
Powered by ViewVC 1.1.26