Merge branch 'cmake' of https://github.com/jackoalan/PrimeWorldEditor into cmake
This commit is contained in:
commit
0c68d8e3df
|
@ -57,7 +57,7 @@ They should be set to `C:/Qt/<QT VERSION>/msvc2017_64/lib/cmake/Qt5`.
|
|||
## Requirements
|
||||
|
||||
* [Xcode 10.2+](https://developer.apple.com/xcode/)
|
||||
* [Qt 5.10+](https://download.qt.io/official_releases/qt/) (Clang 64-bit specification)
|
||||
* [Qt 5.10+](https://download.qt.io/official_releases/qt/) (macOS specification)
|
||||
* *cmake*, *ninja* and *python* installed using [Homebrew](https://brew.sh/)
|
||||
|
||||
## Build using Xcode
|
||||
|
@ -83,7 +83,7 @@ They should be set to `C:/Qt/<QT VERSION>/msvc2017_64/lib/cmake/Qt5`.
|
|||
## Requirements
|
||||
|
||||
* A working compiler toolchain (GCC or Clang)
|
||||
* *cmake*, *ninja*, *python3*, *clang* (library) packages
|
||||
* *cmake*, *ninja*, *python3*, *qt5* (dev), *clang* (dev) packages
|
||||
|
||||
## Build using Command Line
|
||||
|
||||
|
|
|
@ -32,9 +32,9 @@ function(integrate_dew)
|
|||
message(FATAL_ERROR "Failed to install dew with pip: result: ${install_dew_result}.")
|
||||
endif()
|
||||
message(STATUS "Building dew dependencies")
|
||||
execute_process(COMMAND "${Python3_EXECUTABLE}" -m dew update WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
execute_process(COMMAND "${Python3_EXECUTABLE}" -m dew update WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
RESULT_VARIABLE dew_res)
|
||||
if(NOT ${dew_res} EQUAL 0)
|
||||
if(NOT dew_res EQUAL 0)
|
||||
message(FATAL_ERROR "Unable to run dew: ${dew_res}")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -364,7 +364,7 @@ void CEditorApplication::OnEditorClose()
|
|||
|
||||
if (pEditor != mpWorldEditor->TweakEditor())
|
||||
{
|
||||
delete pEditor;
|
||||
pEditor->deleteLater();
|
||||
}
|
||||
|
||||
if (mpActiveProject)
|
||||
|
|
Loading…
Reference in New Issue