Prepare for moving qVersion() from qglobal.h to qlibraryinfo.h

Include qlibraryinfo.h where it's used.

Change-Id: Ie2ea09458380e012f594e765b50a311a20b423d8
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Sona Kurazyan 2022-08-30 11:15:44 +02:00
parent d1f70a5326
commit cd9939d50b
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#include <QtCore/QCommandLineParser> #include <QtCore/QCommandLineParser>
#include <QtCore/QTemporaryFile> #include <QtCore/QTemporaryFile>
#include <QtCore/QUrl> #include <QtCore/QUrl>
#include <QtCore/QLibraryInfo>
QmlPreviewApplication::QmlPreviewApplication(int &argc, char **argv) : QmlPreviewApplication::QmlPreviewApplication(int &argc, char **argv) :
QCoreApplication(argc, argv), QCoreApplication(argc, argv),

View File

@ -11,6 +11,7 @@
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtCore/QCommandLineParser> #include <QtCore/QCommandLineParser>
#include <QtCore/QTemporaryFile> #include <QtCore/QTemporaryFile>
#include <QtCore/QLibraryInfo>
#include <iostream> #include <iostream>