Compile fix
This commit is contained in:
parent
00ef07fe96
commit
d47246a7c6
@ -1,5 +1,5 @@
|
||||
|
||||
QT += core gui
|
||||
QT += core gui widgets
|
||||
|
||||
TARGET = applicationicon
|
||||
TEMPLATE = app
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QLabel>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Nokia Qt Examples: elided label example
|
||||
|
||||
QT += core gui
|
||||
QT += core gui widgets
|
||||
|
||||
TARGET = elidedlabel
|
||||
TEMPLATE = app
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "testwidget.h"
|
||||
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtWidgets/QApplication>
|
||||
|
||||
//! [0]
|
||||
int main( int argc, char *argv[] )
|
||||
|
@ -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):
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user