CONFIG += release
TEMPLATE = app
-VERSION = 2.4
+VERSION = 2.5
DEFINES += APP_VERSION="$$VERSION"
APP_NAME = Minitube
DEFINES += APP_SNAPSHOT
DEFINES += APP_YT3
-DEFINES *= QT_NO_DEBUG_OUTPUT
+message(Building $${APP_NAME} $${VERSION})
+message(Qt $$[QT_VERSION] in $$[QT_INSTALL_PREFIX])
+
+#DEFINES *= QT_NO_DEBUG_OUTPUT
DEFINES *= QT_USE_QSTRINGBUILDER
DEFINES *= QT_STRICT_ITERATORS
# deploy
DISTFILES += CHANGES COPYING
unix:!mac {
+ DEFINES += APP_LINUX
qt:greaterThan(QT_MAJOR_VERSION, 4) {
LIBS += -lphonon4qt5
INCLUDEPATH += /usr/include/phonon4qt5
f.setHintingPreference(QFont::PreferNoHinting);
#ifdef APP_MAC
f.setFamily("Helvetica");
-#endif
-#ifdef APP_WIN
+#elif APP_WIN
rect.adjust(0, -2, 0, 0);
-#endif
-#ifdef Q_OS_LINUX
+#else
rect.adjust(0, -1, 0, 0);
#endif
painter->save();
#include "compatibility/pathsservice.h"
static QList<QString> paths;
-#ifdef Q_OS_LINUX
+#ifdef APP_LINUX
static QString userName;
#endif
QString tempFile = tempDir + "/" + Constants::UNIX_NAME + "-" + QString::number(qrand());
-#ifdef Q_OS_LINUX
+#ifdef APP_LINUX
if (userName.isNull()) {
userName = QString(getenv("USERNAME"));
if (userName.isEmpty())