Compile fix

This commit is contained in:
Jørgen Lind 2011-06-01 15:55:15 +02:00
parent 00ef07fe96
commit d47246a7c6
7 changed files with 18 additions and 18 deletions

View File

@ -1,5 +1,5 @@
QT += core gui
QT += core gui widgets
TARGET = applicationicon
TEMPLATE = app

View File

@ -1,5 +1,5 @@
#include <QtGui/QApplication>
#include <QtGui/QLabel>
#include <QtWidgets/QApplication>
#include <QtWidgets/QLabel>
int main(int argc, char *argv[])
{

View File

@ -1,11 +1,11 @@
#ifndef ELIDEDLABEL_H
#define ELIDEDLABEL_H
#include <QFrame>
#include <QRect>
#include <QResizeEvent>
#include <QString>
#include <QWidget>
#include <QtWidgets/QFrame>
#include <QtCore/QRect>
#include <QtGui/QResizeEvent>
#include <QtCore/QString>
#include <QtWidgets/QWidget>
//! [0]
class ElidedLabel : public QFrame

View File

@ -1,6 +1,6 @@
# Nokia Qt Examples: elided label example
QT += core gui
QT += core gui widgets
TARGET = elidedlabel
TEMPLATE = app

View File

@ -1,6 +1,6 @@
#include "testwidget.h"
#include <QtGui/QApplication>
#include <QtWidgets/QApplication>
//! [0]
int main( int argc, char *argv[] )

View File

@ -1,10 +1,10 @@
#include "testwidget.h"
#include "elidedlabel.h"
#include <QLabel>
#include <QPushButton>
#include <QSizePolicy>
#include <QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSizePolicy>
#include <QtWidgets/QGridLayout>
//! [0]
TestWidget::TestWidget(QWidget *parent):

View File

@ -1,10 +1,10 @@
#ifndef TESTWIDGET_H
#define TESTWIDGET_H
#include <QWidget>
#include <QStringList>
#include <QSlider>
#include <QComboBox>
#include <QtWidgets/QWidget>
#include <QtCore/QStringList>
#include <QtWidgets/QSlider>
#include <QtWidgets/QComboBox>
class ElidedLabel;