INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
+VPATH += $$PWD
# ls -1 *.ts | tr '\n' ' '
TRANSLATIONS += ar.ts ast.ts be.ts bg_BG.ts ca.ts ca_ES.ts cs_CZ.ts da.ts de_DE.ts el.ts en.ts es.ts es_AR.ts es_ES.ts es_MX.ts fi.ts fi_FI.ts fr.ts gl.ts he_IL.ts hr.ts hu.ts ia.ts it.ts ja_JP.ts ky.ts ms_MY.ts nb.ts nl.ts nn.ts pl.ts pl_PL.ts pt.ts pt_BR.ts ro.ts ru.ts sk.ts sl.ts sq.ts sv_SE.ts tr.ts uk.ts uk_UA.ts vi.ts zh_CN.ts zh_TW.ts
CONFIG += release
TEMPLATE = app
-VERSION = 2.2
+VERSION = 2.3
DEFINES += APP_VERSION="$$VERSION"
APP_NAME = Minitube
TARGET = $${APP_UNIX_NAME}
-QT += network xml phonon sql script
+QT += network xml sql script
+
+qt:greaterThan(QT_MAJOR_VERSION, 4) {
+ contains(QT, gui): QT *= widgets
+} else {
+ QT += phonon
+}
include(src/qtsingleapplication/qtsingleapplication.pri)
#define SUGGESTER_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class Suggester : public QObject {
#define ABOUTVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
#include "constants.h"
#define SUGGESTCOMPLETION_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class Suggester;
class SearchLineEdit;
#define CHANNELITEMDELEGATE_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class ChannelItemDelegate : public QStyledItemDelegate {
#define CHANNELSVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
class VideoSource;
#define DOWNLOADLISTVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class DownloadListView : public QListView {
#define DOWNLOADMANAGER_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class DownloadItem;
class DownloadModel;
#define DOWNLOADSETTINGS_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class DownloadSettings : public QWidget {
#define DOWNLOADVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
class SegmentedControl;
#define GLOBAL_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include <QStringList>
#include <QNetworkProxy>
#include <QNetworkAccessManager>
#define GRIDWIDGET_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class GridWidget : public QWidget {
#define HOMEVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
class SegmentedControl;
#define LOADINGWIDGET_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "video.h"
class LoadingWidget : public QWidget {
$END_LICENSE */
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include <qtsingleapplication.h>
#include "constants.h"
#include "mainwindow.h"
#define MAINWINDOW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include <phonon/audiooutput.h>
#include <phonon/volumeslider.h>
#include <phonon/mediaobject.h>
#define __MEDIAVIEW_H__
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include <QtNetwork>
#include <phonon/mediaobject.h>
#include <phonon/videowidget.h>
#include "networkaccess.h"
#include "constants.h"
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
namespace The {
NetworkAccess* http();
#define PAINTERUTILS_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class PainterUtils {
#define PLAYLISTITEMDELEGATE_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class PlaylistItemDelegate : public QStyledItemDelegate {
#define PLAYLISTMODEL_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class Video;
class VideoSource;
#define PLAYLISTVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class PlaylistView : public QListView {
#define REFINESEARCHBUTTON_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class RefineSearchButton : public QPushButton
{
#define REFINESEARCHWIDGET_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class SearchParams;
#define REGIONSVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
class YTRegion;
#define __SEARCHVIEW_H__
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
class SearchLineEdit;
#define SEEKSLIDER_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class SeekSlider : public QSlider {
#define SEGMENTEDCONTROL_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class SegmentedControl : public QWidget {
#define SIDEBARHEADER_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class SidebarHeader : public QToolBar {
#define SIDEBARWIDGET_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class RefineSearchButton;
class RefineSearchWidget;
#define SPACER_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class Spacer : public QWidget {
#define CATEGORIESVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
class VideoSource;
#define SUGGESTER_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class Suggester : public QObject {
#define UTILS_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
class Utils {
#define VIDEO_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include <QtNetwork>
class Video : public QObject {
#define VIDEOSOURCEWIDGET_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "gridwidget.h"
class Video;
#define YTREGIONS_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
struct YTRegion {
QString id;
#define YTUSER_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include <QtNetwork>
class YTUser : public QObject {