Changeset View
Changeset View
Standalone View
Standalone View
tests/qmlalkonlinequotetest.cpp
- This file was copied to tests/alkonlinequoteswidgettest.cpp.
Show All 13 Lines | |||||
14 | * GNU General Public License for more details. * | 14 | * GNU General Public License for more details. * | ||
15 | * * | 15 | * * | ||
16 | * You should have received a copy of the GNU General Public License * | 16 | * You should have received a copy of the GNU General Public License * | ||
17 | * along with this program. If not, see <http://www.gnu.org/licenses/> * | 17 | * along with this program. If not, see <http://www.gnu.org/licenses/> * | ||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ | ||
19 | 19 | | |||
20 | #include "alkonlinequote.h" | 20 | #include "alkonlinequote.h" | ||
21 | 21 | | |||
22 | #if QT_VERSION >= 0x050000 | 22 | #if QT_VERSION >= QT_VERSION_CHECK(5,0,0) | ||
23 | #include <QGuiApplication> | 23 | #include <QGuiApplication> | ||
24 | #include <QQmlApplicationEngine> | 24 | #include <QQmlApplicationEngine> | ||
25 | #else | 25 | #else | ||
26 | #include <QApplication> | 26 | #include <QApplication> | ||
27 | class QGuiApplication : public QApplication | 27 | class QGuiApplication : public QApplication | ||
28 | { | 28 | { | ||
29 | public: | 29 | public: | ||
30 | QGuiApplication(int &argc, char **argv) : QApplication(argc, argv) {} | 30 | QGuiApplication(int &argc, char **argv) : QApplication(argc, argv) {} | ||
Show All 30 Lines |