Examples: Fix compilation.
This commit is contained in:
parent
43b9a99983
commit
4d778f7976
@ -46,10 +46,6 @@ symbian: SUBDIRS = \
|
|||||||
gestures \
|
gestures \
|
||||||
xml
|
xml
|
||||||
|
|
||||||
!contains(QT_CONFIG, no-gui):contains(QT_CONFIG, multimedia) {
|
|
||||||
SUBDIRS += multimedia
|
|
||||||
}
|
|
||||||
|
|
||||||
qpa:SUBDIRS += qpa
|
qpa:SUBDIRS += qpa
|
||||||
embedded:SUBDIRS += qws
|
embedded:SUBDIRS += qws
|
||||||
contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib
|
contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
QT += core gui
|
QT += core gui widgets
|
||||||
|
|
||||||
TARGET = cube
|
TARGET = cube
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <QtGui/QApplication>
|
#include <QApplication>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
#ifndef QT_NO_OPENGL
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <QtGui/QApplication>
|
#include <QtWidgets/QApplication>
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
QT += core gui
|
QT += core gui widgets
|
||||||
|
|
||||||
TARGET = orientation
|
TARGET = orientation
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user