Skip to content

Commit

Permalink
Move define to allow Qt5 deprecated methods to ./configure.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Mar 1, 2013
1 parent 2e9b97e commit 85f5e1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion mythtv/configure
Expand Up @@ -4227,7 +4227,7 @@ if ! is_qmake5 $qmake ; then
die "Qt4.8 or newer is required to build MythTV." die "Qt4.8 or newer is required to build MythTV."
fi fi
else else
check_cxxflags -DHAVE_QT5 check_cxxflags -DQT_DISABLE_DEPRECATED_BEFORE
fi fi


if test x"$qmakespecs" != x; then if test x"$qmakespecs" != x; then
Expand Down
4 changes: 0 additions & 4 deletions mythtv/settings.pro
Expand Up @@ -171,7 +171,3 @@ EXTRA_LIBS += -L$$SRC_PATH_BARE/external/nzmqt/src -lmythnzmqt
EXTRA_LIBS += -L$$SRC_PATH_BARE/external/qjson/lib -lmythqjson EXTRA_LIBS += -L$$SRC_PATH_BARE/external/qjson/lib -lmythqjson


macx:using_firewire:using_backend:EXTRA_LIBS += -F$${CONFIG_MAC_AVC} -framework AVCVideoServices macx:using_firewire:using_backend:EXTRA_LIBS += -F$${CONFIG_MAC_AVC} -framework AVCVideoServices

contains(QT_VERSION, ^5\\.[0-9]\\..*) {
DEFINES += QT_DISABLE_DEPRECATED_BEFORE
}

0 comments on commit 85f5e1a

Please sign in to comment.