mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-26 01:34:33 +00:00
48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
//#
|
|
//# Copyright (C) 2020-2024 QuasarApp.
|
|
//# Distributed under the GPLv3 software license, see the accompanying
|
|
//# Everyone is permitted to copy and distribute verbatim copies
|
|
//# of this license document, but changing it is not allowed.
|
|
//#
|
|
|
|
|
|
#include "webenginetest.h"
|
|
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
|
|
#include "modules.h"
|
|
#endif
|
|
|
|
#include <configparser.h>
|
|
#include <dependenciesscanner.h>
|
|
#include <filemanager.h>
|
|
#include <packing.h>
|
|
#include <pluginsparser.h>
|
|
|
|
|
|
void WebEngineTest::test() {
|
|
#ifdef Q_OS_UNIX
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
|
|
TestUtils utils;
|
|
|
|
QString bin = TestBinDir + "quicknanobrowser";
|
|
QString qmake = TestQtDir + "bin/qmake";
|
|
|
|
auto comapareTree = TestModule.qtWebEngine();
|
|
|
|
runTestParams({"-bin", bin, "clear" ,
|
|
"-qmake", qmake,
|
|
"-qmlDir", TestBinDir + "/../quicknanobrowser"}, &comapareTree);
|
|
|
|
|
|
bin = TestBinDir + "webui";
|
|
qmake = TestQtDir + "bin/qmake";
|
|
|
|
comapareTree = TestModule.qtWebEngineWidgets();
|
|
|
|
runTestParams({"-bin", bin, "clear" ,
|
|
"-qmake", qmake}, &comapareTree);
|
|
|
|
#endif
|
|
#endif
|
|
}
|