Skip to content

Commit c2ee8f7

Browse files
committed
Merge mess...
1 parent 684172b commit c2ee8f7

33 files changed

+4021
-75
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if (ANDROID)
8181
set(GLES_OPTION ON)
8282
set(PLATFORM_QT_COMPONENTS AndroidExtras WebView)
8383
else ()
84-
set(PLATFORM_QT_COMPONENTS WebEngine Xml)
84+
set(PLATFORM_QT_COMPONENTS WebEngine)
8585
endif ()
8686

8787
if (USE_GLES AND (NOT ANDROID))

INSTALL.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ To produce an executable installer on Windows, the following are required:
3232

3333
1. [InetC Plug-in for Nullsoft](http://nsis.sourceforge.net/Inetc_plug-in) - 1.0
3434
1. Extract Zip
35-
1. Copy `Plugins\x86-ansi\InetC.dll` to `C:\Program Files (x86)\NSIS\Plugins\x86-ansi\`
36-
1. Copy `Plugins\x86-unicode\InetC.dll` to `C:\Program Files (x86)\NSIS\Plugins\x86-unicode\`
35+
1. Copy `Plugin\x86-ansi\InetC.dll` to `C:\Program Files (x86)\NSIS\Plugins\x86-ansi\`
36+
1. Copy `Plugin\x86-unicode\InetC.dll` to `C:\Program Files (x86)\NSIS\Plugins\x86-unicode\`
3737

3838
1. [NSISpcre Plug-in for Nullsoft](http://nsis.sourceforge.net/NSISpcre_plug-in) - 1.0
3939
1. Extract Zip

cmake/macros/FixupNitpick.cmake

-36
This file was deleted.

cmake/macros/SetPackagingParameters.cmake

+1-9
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ macro(SET_PACKAGING_PARAMETERS)
7777
add_definitions(-DDEV_BUILD)
7878
endif ()
7979

80-
set(NITPICK_BUNDLE_NAME "nitpick")
81-
set(NITPICK_ICON_PREFIX "nitpick")
82-
8380
string(TIMESTAMP BUILD_TIME "%d/%m/%Y")
8481

8582
# if STABLE_BUILD is 1, PRODUCTION_BUILD must be 1 and
@@ -143,9 +140,8 @@ macro(SET_PACKAGING_PARAMETERS)
143140

144141
set(DMG_SUBFOLDER_ICON "${HF_CMAKE_DIR}/installer/install-folder.rsrc")
145142

146-
set(CONSOLE_INSTALL_DIR ${DMG_SUBFOLDER_NAME})
143+
set(CONSOLE_INSTALL_DIR ${DMG_SUBFOLDER_NAME})
147144
set(INTERFACE_INSTALL_DIR ${DMG_SUBFOLDER_NAME})
148-
set(NITPICK_INSTALL_DIR ${DMG_SUBFOLDER_NAME})
149145

150146
if (CLIENT_ONLY)
151147
set(CONSOLE_EXEC_NAME "Console.app")
@@ -163,14 +159,11 @@ macro(SET_PACKAGING_PARAMETERS)
163159

164160
set(INTERFACE_INSTALL_APP_PATH "${CONSOLE_INSTALL_DIR}/${INTERFACE_BUNDLE_NAME}.app")
165161
set(INTERFACE_ICON_FILENAME "${INTERFACE_ICON_PREFIX}.icns")
166-
set(NITPICK_ICON_FILENAME "${NITPICK_ICON_PREFIX}.icns")
167162
else ()
168163
if (WIN32)
169164
set(CONSOLE_INSTALL_DIR "server-console")
170-
set(NITPICK_INSTALL_DIR "nitpick")
171165
else ()
172166
set(CONSOLE_INSTALL_DIR ".")
173-
set(NITPICK_INSTALL_DIR ".")
174167
endif ()
175168

176169
set(COMPONENT_INSTALL_DIR ".")
@@ -180,7 +173,6 @@ macro(SET_PACKAGING_PARAMETERS)
180173
if (WIN32)
181174
set(INTERFACE_EXEC_PREFIX "interface")
182175
set(INTERFACE_ICON_FILENAME "${INTERFACE_ICON_PREFIX}.ico")
183-
set(NITPICK_ICON_FILENAME "${NITPICK_ICON_PREFIX}.ico")
184176

185177
set(CONSOLE_EXEC_NAME "server-console.exe")
186178

-42 Bytes
Binary file not shown.

tools/nitpick/icon/nitpick.icns

-438 KB
Binary file not shown.

tools/nitpick/icon/nitpick.ico

-51.3 KB
Binary file not shown.

tools/nitpick/src/AWSInterface.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <QObject>
1717
#include <QTextStream>
1818

19-
#include "BusyWindow.h"
19+
#include "ui/BusyWindow.h"
2020

2121
#include "PythonInterface.h"
2222

tools/nitpick/src/PythonInterface.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
PythonInterface::PythonInterface() {
1717
#ifdef Q_OS_WIN
1818
if (QProcessEnvironment::systemEnvironment().contains("PYTHON_PATH")) {
19-
QString pythonPath = QProcessEnvironment::systemEnvironment().value("PYTHON_PATH");
20-
if (!QFile::exists(pythonPath + "/" + _pythonExe)) {
21-
QMessageBox::critical(0, _pythonExe, QString("Python executable not found in ") + pythonPath);
19+
QString _pythonPath = QProcessEnvironment::systemEnvironment().value("PYTHON_PATH");
20+
if (!QFile::exists(_pythonPath + "/" + _pythonExe)) {
21+
QMessageBox::critical(0, _pythonExe, QString("Python executable not found in ") + _pythonPath);
2222
exit(-1);
2323
}
2424

25-
_pythonCommand = pythonPath + "/" + _pythonExe;
25+
_pythonCommand = _pythonPath + "/" + _pythonExe;
2626
} else {
2727
QMessageBox::critical(0, "PYTHON_PATH not defined",
2828
"Please set PYTHON_PATH to directory containing the Python executable");
@@ -31,7 +31,7 @@ PythonInterface::PythonInterface() {
3131
#elif defined Q_OS_MAC
3232
_pythonCommand = "/usr/local/bin/python3";
3333
if (!QFile::exists(_pythonCommand)) {
34-
QMessageBox::critical(0, "python not found",
34+
QMessageBox::critical(0, "PYTHON_PATH not defined",
3535
"python3 not found at " + _pythonCommand);
3636
exit(-1);
3737
}

tools/nitpick/src/Test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <quazip5/quazip.h>
2020
#include <quazip5/JlCompress.h>
2121

22-
#include "Nitpick.h"
22+
#include "ui/Nitpick.h"
2323
extern Nitpick* nitpick;
2424

2525
#include <math.h>

tools/nitpick/src/Test.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "AWSInterface.h"
2020
#include "ImageComparer.h"
21-
#include "MismatchWindow.h"
21+
#include "ui/MismatchWindow.h"
2222
#include "TestRailInterface.h"
2323

2424
class Step {

tools/nitpick/src/TestRailInterface.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
#ifndef hifi_test_testrail_interface_h
1212
#define hifi_test_testrail_interface_h
1313

14-
#include "BusyWindow.h"
15-
#include "TestRailTestCasesSelectorWindow.h"
16-
#include "TestRailRunSelectorWindow.h"
17-
#include "TestRailResultsSelectorWindow.h"
14+
#include "ui/BusyWindow.h"
15+
#include "ui/TestRailTestCasesSelectorWindow.h"
16+
#include "ui/TestRailRunSelectorWindow.h"
17+
#include "ui/TestRailResultsSelectorWindow.h"
1818

1919
#include <QDirIterator>
2020
#include <QtXml/QDomDocument>

0 commit comments

Comments
 (0)