Examples: Fix compilation.

This commit is contained in:
Friedemann Kleint 2011-05-25 09:15:14 +02:00
parent 43b9a99983
commit 4d778f7976
5 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -4,7 +4,7 @@
# #
#------------------------------------------------- #-------------------------------------------------
QT += core gui QT += core gui widgets
TARGET = cube TARGET = cube
TEMPLATE = app TEMPLATE = app

View File

@ -1,4 +1,4 @@
#include <QtGui/QApplication> #include <QApplication>
#include <QLabel> #include <QLabel>
#ifndef QT_NO_OPENGL #ifndef QT_NO_OPENGL

View File

@ -1,4 +1,4 @@
#include <QtGui/QApplication> #include <QtWidgets/QApplication>
#include "mainwindow.h" #include "mainwindow.h"
//! [0] //! [0]

View File

@ -4,7 +4,7 @@
# #
#------------------------------------------------- #-------------------------------------------------
QT += core gui QT += core gui widgets
TARGET = orientation TARGET = orientation
TEMPLATE = app TEMPLATE = app