Skip to content

Commit

Permalink
Port libmyth.pro to work with Qt5 + Qt4.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Mar 1, 2013
1 parent 164ec9c commit f42b774
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions 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
Expand Down

0 comments on commit f42b774

Please sign in to comment.