Permalink
Browse files

Port libmyth.pro to work with Qt5 + Qt4.

  • Loading branch information...
daniel-kristjansson committed Feb 26, 2013
1 parent 164ec9c commit f42b774c1cd2c73a784e728e7501e75ce4538a75
Showing with 15 additions and 5 deletions.
  1. +15 −5 mythtv/libs/libmyth/libmyth.pro
@@ -1,19 +1,29 @@
include ( ../../settings.pro )
QT += network xml sql script
contains(QT_VERSION, ^5\\.[0-9]\\..*) {
QT += widgets
}
TEMPLATE = lib
TARGET = myth-$$LIBVERSION
CONFIG += thread dll
target.path = $${LIBDIR}
INSTALLS = target
DEFINES += MYTH_API
QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2)
QT += network xml sql script
contains(QT_VERSION, ^5\\.[0-9]\\..*) {
QT += widgets
}
POSTINC =
QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2)
contains(INCLUDEPATH, /usr/include) {
POSTINC += /usr/include
INCLUDEPATH -= /usr/include
}
contains(INCLUDEPATH, /usr/local/include) {
POSTINC += /usr/local/include
INCLUDEPATH -= /usr/local/include
}
# Input
HEADERS += audio/audiooutput.h audio/audiooutputbase.h audio/audiooutputnull.h

0 comments on commit f42b774

Please sign in to comment.