Convert features.splashscreen to QT_REQUIRE_CONFIG
Change-Id: Ie46b7c6fb52773dea25c552a77c96d800f471738 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>bb10
parent
61384e910d
commit
ad8b4ba014
|
|
@ -39,8 +39,6 @@
|
|||
|
||||
#include "qsplashscreen.h"
|
||||
|
||||
#ifndef QT_NO_SPLASHSCREEN
|
||||
|
||||
#include "qapplication.h"
|
||||
#include "qdesktopwidget.h"
|
||||
#include "qpainter.h"
|
||||
|
|
@ -354,5 +352,3 @@ bool QSplashScreen::event(QEvent *e)
|
|||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qsplashscreen.cpp"
|
||||
|
||||
#endif //QT_NO_SPLASHSCREEN
|
||||
|
|
|
|||
|
|
@ -44,10 +44,10 @@
|
|||
#include <QtGui/qpixmap.h>
|
||||
#include <QtWidgets/qwidget.h>
|
||||
|
||||
QT_REQUIRE_CONFIG(splashscreen);
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
||||
#ifndef QT_NO_SPLASHSCREEN
|
||||
class QSplashScreenPrivate;
|
||||
|
||||
class Q_WIDGETS_EXPORT QSplashScreen : public QWidget
|
||||
|
|
@ -82,8 +82,6 @@ private:
|
|||
Q_DECLARE_PRIVATE(QSplashScreen)
|
||||
};
|
||||
|
||||
#endif // QT_NO_SPLASHSCREEN
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QSPLASHSCREEN_H
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ HEADERS += \
|
|||
widgets/qsizegrip.h \
|
||||
widgets/qslider.h \
|
||||
widgets/qspinbox.h \
|
||||
widgets/qsplashscreen.h \
|
||||
widgets/qsplitter.h \
|
||||
widgets/qsplitter_p.h \
|
||||
widgets/qstackedwidget.h \
|
||||
|
|
@ -97,7 +96,6 @@ SOURCES += \
|
|||
widgets/qsizegrip.cpp \
|
||||
widgets/qslider.cpp \
|
||||
widgets/qspinbox.cpp \
|
||||
widgets/qsplashscreen.cpp \
|
||||
widgets/qsplitter.cpp \
|
||||
widgets/qstackedwidget.cpp \
|
||||
widgets/qstatusbar.cpp \
|
||||
|
|
@ -196,6 +194,14 @@ qtConfig(dialogbuttonbox) {
|
|||
widgets/qdialogbuttonbox.cpp
|
||||
}
|
||||
|
||||
qtConfig(splashscreen) {
|
||||
HEADERS += \
|
||||
widgets/qsplashscreen.h
|
||||
|
||||
SOURCES += \
|
||||
widgets/qsplashscreen.cpp
|
||||
}
|
||||
|
||||
qtConfig(widgettextcontrol) {
|
||||
HEADERS += \
|
||||
widgets/qwidgettextcontrol_p.h \
|
||||
|
|
|
|||
Loading…
Reference in New Issue