Closed gwald closed 2 months ago
Hello. I'll add additional hints to building editor on Windows/Linux to README today in the evening. Currently, the easiest way is to download Qt online installer from qt.io. You'll need to create a Qt account to use it. There are other ways but they are harder and require some non-trivial steps.
I've added additional information about building editor to the README. If any questions remain please ask here, I'll update the README with new information.
Thanks for that, it looks good. We should provide a direct URL to where to download, the QT site is big and confusing. I originally went here https://doc.qt.io/qt-6/qt-online-installation.html Which requires a QT account. But https://www.qt.io/download-qt-installer-oss is probably a better place. I edited dev readme, not sure if it worked.
Thanks again, I will try to build it over the weekend and report back :)
I tried building from src but it failed, so I created a QT account and installed:
C:\Horde3D-develop\ed>cmake .. -G "MinGW Makefiles" -DHORDE3D_BUILD_EDITOR=ON -DHORDE3D_BUILD_EXAMPLES=OFF -DCMAKE_MAK
E_PROGRAM=make -DCMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++" -DCMAKE_CXX_FLAGS="-fpermissive" -DCMAKE_B
UILD_TYPE=Debug -DQt6_DIR=C:\Qt\Tools\CMake_64\share\cmake-3.29\Modules -DLUA_LIBRARIES=C:\Horde3D-develop\Horde3DEdit
or\lua-5.4.7 -DLUA_INCLUDE_DIR=C:\Horde3D-develop\Horde3DEditor\lua-5.4.7
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Strawberry/c/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Strawberry/c/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for strncpy_s
-- Looking for strncpy_s - found
Not building examples.
-- Found OpenGL: opengl32
CMake Warning at Horde3DEditor/CMakeLists.txt:7 (find_package):
By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt6", but
CMake did not find one.
Could not find a package configuration file provided by "Qt6" with any of
the following names:
Qt6Config.cmake
qt6-config.cmake
Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
to a directory containing one of the above files. If "Qt6" provides a
separate development package or SDK, be sure it has been installed.
-- Found unsuitable Qt version "" from NOTFOUND
CMake Error at Horde3DEditor/CMakeLists.txt:24 (message):
Required Qt components not found!
-- Configuring incomplete, errors occurred!
I dont know why but it only install qt4 cmake files?? I reinstall it
But no qt6 find cmake files
I updated my cmake.org install and it also only includes qt/qt3/qt4 scripts.
I'm using with QT's gcc and cmake.
Would it be possible to share a QT creator project file?
I found the correct qt6 script locaion: C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6 And C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6CoreTools
C:\Horde3D-develop>cd ed
C:\Horde3D-develop\ed>rm -rf *
C:\Horde3D-develop\ed>cmake .. -G "MinGW Makefiles" -DHORDE3D_BUILD_EDITOR=ON -DHORDE3D_BUILD_EXAMPLES=OFF -DCMAKE_MAK
E_PROGRAM=make -DCMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++" -DCMAKE_CXX_FLAGS="-fpermissive" -DCMAKE_B
UILD_TYPE=Debug -DQt6GuiTools_FOUND=TRUE -DQt6_FOUND=TRUE -DQt6_DIR=C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6 -DQt6CoreT
ools_DIR=C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6CoreTools -DQt6Widgets_FOUND=TRUE -DCMAKE_PREFIX_PATH=C:\Qt\6.7.2\mingw_64\
lib\cmake\Qt6 -DLUA_LIBRARIES=C:\Horde3D-develop\Horde3DEditor\lua-5.4.7 -DLUA_INCLUDE_DIR=C:\Horde3D-develop\Horde3
DEditor\lua-5.4.7
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Strawberry/c/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Strawberry/c/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for strncpy_s
-- Looking for strncpy_s - found
Not building examples.
-- Found OpenGL: opengl32
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Preparing external LUA project C:/Horde3D-develop/BuildTools/CMake/Modules
-- External LUA project done
-- Lua Found: C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/include LUA_LIBRARY
-- Output to
-- Configuring done (1.4s)
CMake Error at Horde3DEditor/src/EditorLib/CMakeLists.txt:35 (TARGET_LINK_LIBRARIES):
Target "EditorLib" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/QPropertyEditor/CMakeLists.txt:43 (TARGET_LINK_LIBRARIES):
Target "QPropertyEditor" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/tgaPlugIn/CMakeLists.txt:18 (TARGET_LINK_LIBRARIES):
Target "qtga" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/psdPlugIn/CMakeLists.txt:16 (TARGET_LINK_LIBRARIES):
Target "qpsd" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/HordeSceneEditorCore/CMakeLists.txt:78 (TARGET_LINK_LIBRARIES):
Target "HordeSceneEditorCore" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/HordeSceneEditor/CMakeLists.txt:187 (TARGET_LINK_LIBRARIES):
Target "Horde3DEditor" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/QTerrainNodeExtension/CMakeLists.txt:37 (TARGET_LINK_LIBRARIES):
Target "QTerrainNodeExtension" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/TerrainToolPlugIn/CMakeLists.txt:26 (TARGET_LINK_LIBRARIES):
Target "TerrainToolPlugIn" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done (0.3s)
CMake Generate step failed. Build files cannot be regenerated correctly.
C:\Horde3D-develop\ed>echo -DQt6_DIR=C:\Qt\Tools\CMake_64\share\cmake-3.29\Modules -DCMAKE_MODULE_PATH=C:\Qt\Tools\CM
ake_64\share\cmake-3.29\Modules
-DQt6_DIR=C:\Qt\Tools\CMake_64\share\cmake-3.29\Modules -DCMAKE_MODULE_PATH=C:\Qt\Tools\CMake_64\share\cmake-3.29\Mod
ules
C:\Horde3D-develop\ed>pause
Press any key to continue . . .
C:\Horde3D-develop\ed>make
[ 0%] Building CXX object Extensions/Overlays/Source/CMakeFiles/Horde3DOverlays.dir/extension.cpp.obj
[ 1%] Building CXX object Extensions/Overlays/Source/CMakeFiles/Horde3DOverlays.dir/overlays.cpp.obj
[ 1%] Linking CXX static library libHorde3DOverlays.a
[ 1%] Built target Horde3DOverlays
[ 2%] Building CXX object Extensions/Terrain/Source/CMakeFiles/Horde3DTerrain.dir/extension.cpp.obj
[ 2%] Building CXX object Extensions/Terrain/Source/CMakeFiles/Horde3DTerrain.dir/terrain.cpp.obj
[ 3%] Linking CXX static library libHorde3DTerrain.a
[ 3%] Built target Horde3DTerrain
[ 3%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimatables.cpp.obj
[ 4%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimation.cpp.obj
[ 4%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCamera.cpp.obj
[ 5%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCom.cpp.obj
[ 5%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egComputeNode.cpp.obj
[ 6%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egComputeBuffer.cpp.obj
[ 6%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egExtensions.cpp.obj
[ 7%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egGeometry.cpp.obj
[ 7%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egLight.cpp.obj
[ 8%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMain.cpp.obj
[ 9%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMaterial.cpp.obj
[ 9%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModel.cpp.obj
[ 10%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModules.cpp.obj
[ 10%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egParticle.cpp.obj
[ 11%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPipeline.cpp.obj
[ 11%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPrimitives.cpp.obj
[ 12%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRenderer.cpp.obj
[ 12%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egResource.cpp.obj
[ 13%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egScene.cpp.obj
[ 13%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egSceneGraphRes.cpp.obj
[ 14%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egShader.cpp.obj
[ 14%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egShaderParser.cpp.obj
[ 15%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egTexture.cpp.obj
[ 15%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/utImage.cpp.obj
[ 16%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRendererBaseGL2.cpp.obj
[ 16%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRendererBaseGL4.cpp.obj
[ 17%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/utOpenGL.cpp.obj
[ 17%] Linking CXX shared library ..\..\..\Binaries\Windows\Debug\libHorde3D.dll
[ 17%] Built target Horde3D
[ 17%] Building CXX object Horde3D/Source/Horde3DUtils/CMakeFiles/Horde3DUtils.dir/main.cpp.obj
[ 18%] Linking CXX shared library ..\..\..\Binaries\Windows\Debug\libHorde3DUtils.dll
[ 18%] Built target Horde3DUtils
[ 18%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/converter.cpp.obj
[ 19%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/daeMain.cpp.obj
[ 19%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/main.cpp.obj
[ 20%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/optimizer.cpp.obj
[ 20%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/utils.cpp.obj
[ 21%] Linking CXX executable ..\..\..\Binaries\Windows\Debug\ColladaConv.exe
[ 21%] Built target ColladaConv
[ 21%] Built target CopyPlatformFiles
[ 21%] Creating directories for 'project_lua'
[ 21%] Performing download step (download, verify and extract) for 'project_lua'
-- project_lua download command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project_
lua-stamp/project_lua-download-*.log
[ 21%] No update step for 'project_lua'
[ 22%] Performing patch step for 'project_lua'
[ 23%] Performing configure step for 'project_lua'
-- project_lua configure command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project
_lua-stamp/project_lua-configure-*.log
[ 23%] Performing build step for 'project_lua'
-- project_lua build command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project_lua
-stamp/project_lua-build-*.log
[ 24%] Performing install step for 'project_lua'
-- project_lua install command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project_l
ua-stamp/project_lua-install-*.log
[ 25%] Completed 'project_lua'
[ 25%] Built target project_lua
[ 26%] Built target LUA_LIBRARY_EXTERN
[ 26%] Built target EditorLib_autogen_timestamp_deps
[ 27%] Automatic MOC and UIC for target EditorLib
[ 27%] Built target EditorLib_autogen
[ 28%] Building CXX object Horde3DEditor/src/EditorLib/CMakeFiles/EditorLib.dir/EditorLib_autogen/mocs_compilation.cpp.o
bj
In file included from C:\Horde3D-develop\ed\Horde3DEditor\src\EditorLib\EditorLib_autogen\EWIEGA46WW/moc_TextEdit.cpp:9,
from C:\Horde3D-develop\ed\Horde3DEditor\src\EditorLib\EditorLib_autogen\mocs_compilation.cpp:3:
C:/Horde3D-develop/Horde3DEditor/src/EditorLib/TextEdit.h:29:10: fatal error: QTextEdit: No such file or directory
#include <QTextEdit>
^~~~~~~~~~~
compilation terminated.
make[2]: *** [Horde3DEditor\src\EditorLib\CMakeFiles\EditorLib.dir\build.make:82: Horde3DEditor/src/EditorLib/CMakeFiles
/EditorLib.dir/EditorLib_autogen/mocs_compilation.cpp.obj] Error 1
make[1]: *** [CMakeFiles\Makefile2:794: Horde3DEditor/src/EditorLib/CMakeFiles/EditorLib.dir/all] Error 2
make: *** [Makefile:90: all] Error 2
C:\Horde3D-develop\ed>pause
Press any key to continue . . .
Hello. It is strange that widgets were not found. If you are using cmake gui, please check that you have no unset directories for qt (Qt6WidgetsDIR should not be DIR_NOTFOUND).
I've tested with Qt 6.6, maybe something was changed in 6.7 (but for something major like Widgets library the search mechanism probably should not be drastically changed...)
Edit: in the command above you set -DQt6Widgets_FOUND=TRUE, but do not set path to cmake library for Widgets. That may be the cause of the error.
C:\Horde3D-develop\ed>cmake .. -G "MinGW Makefiles" -DHORDE3D_BUILD_EDITOR=ON -DHORDE3D_BUILD_EXAMPLES=OFF -DCMAKE_MAK
E_PROGRAM=make -DCMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++" -DCMAKE_CXX_FLAGS="-fpermissive" -DCMAKE_B
UILD_TYPE=Debug -DQt6GuiTools_FOUND=TRUE -DQt6_FOUND=TRUE -DQt6_DIR=C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6 -DQt6CoreT
ools_DIR=C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6CoreTools -DQt6Widgets_FOUND=TRUE
Thanks for the reply, that helped :) I realized the models are broken in their respective folders under the QT6 folders, I added widgets and widgetsTools, but it didn't seem to help.
Sorry my cmake is very noobish, I was just doing a lot of trial and error to get this far. Not cmake GUI, it's a batch file, it helps understanding cmake better seeing the parameters.
It looks like it can't find QT6 Widgets, I dont know why? Is it possible to get a QT creator project file(s) for the editor? I've run out of ideas.
C:\Horde3D-develop>cd ed
C:\Horde3D-develop\ed>rm -rf *
C:\Horde3D-develop\ed>cmake .. -G "MinGW Makefiles" -DHORDE3D_BUILD_EDITOR=ON -DHORDE3D_BUILD_EXAMPLES=OFF -DCMAKE_MAK
E_PROGRAM=make -DCMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++" -DCMAKE_CXX_FLAGS="-fpermissive" -DCMAKE_B
UILD_TYPE=Debug -DQt6GuiTools_FOUND=TRUE -DQt6_FOUND=TRUE -DQt6_DIR=C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6 -DQt6CoreT
ools_DIR=C:\Qt\6.7.2\mingw_64\lib\cmake\Qt6CoreTools -DQt6Widgets_FOUND=TRUE -DCMAKE_PREFIX_PATH=C:\Qt\6.7.2\mingw_64\
lib\cmake\Qt6 -DLUA_LIBRARIES=C:\Horde3D-develop\Horde3DEditor\lua-5.4.7 -DLUA_INCLUDE_DIR=C:\Horde3D-develop\Horde3
DEditor\lua-5.4.7
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Strawberry/c/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Strawberry/c/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for strncpy_s
-- Looking for strncpy_s - found
Not building examples.
-- Found OpenGL: opengl32
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Preparing external LUA project C:/Horde3D-develop/BuildTools/CMake/Modules
-- External LUA project done
-- Lua Found: C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/include LUA_LIBRARY
-- Output to
-- Configuring done (1.3s)
CMake Error at Horde3DEditor/src/EditorLib/CMakeLists.txt:35 (TARGET_LINK_LIBRARIES):
Target "EditorLib" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/QPropertyEditor/CMakeLists.txt:43 (TARGET_LINK_LIBRARIES):
Target "QPropertyEditor" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/tgaPlugIn/CMakeLists.txt:18 (TARGET_LINK_LIBRARIES):
Target "qtga" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/psdPlugIn/CMakeLists.txt:16 (TARGET_LINK_LIBRARIES):
Target "qpsd" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/HordeSceneEditorCore/CMakeLists.txt:78 (TARGET_LINK_LIBRARIES):
Target "HordeSceneEditorCore" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/HordeSceneEditor/CMakeLists.txt:187 (TARGET_LINK_LIBRARIES):
Target "Horde3DEditor" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/QTerrainNodeExtension/CMakeLists.txt:37 (TARGET_LINK_LIBRARIES):
Target "QTerrainNodeExtension" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at Horde3DEditor/src/TerrainToolPlugIn/CMakeLists.txt:26 (TARGET_LINK_LIBRARIES):
Target "TerrainToolPlugIn" links to:
Qt6::Widgets
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done (0.3s)
CMake Generate step failed. Build files cannot be regenerated correctly.
C:\Horde3D-develop\ed>echo -DQt6_DIR=C:\Qt\Tools\CMake_64\share\cmake-3.29\Modules -DCMAKE_MODULE_PATH=C:\Qt\Tools\CM
ake_64\share\cmake-3.29\Modules
-DQt6_DIR=C:\Qt\Tools\CMake_64\share\cmake-3.29\Modules -DCMAKE_MODULE_PATH=C:\Qt\Tools\CMake_64\share\cmake-3.29\Mod
ules
C:\Horde3D-develop\ed>pause
Press any key to continue . . .
C:\Horde3D-develop\ed>make
[ 0%] Building CXX object Extensions/Overlays/Source/CMakeFiles/Horde3DOverlays.dir/extension.cpp.obj
[ 1%] Building CXX object Extensions/Overlays/Source/CMakeFiles/Horde3DOverlays.dir/overlays.cpp.obj
[ 1%] Linking CXX static library libHorde3DOverlays.a
[ 1%] Built target Horde3DOverlays
[ 2%] Building CXX object Extensions/Terrain/Source/CMakeFiles/Horde3DTerrain.dir/extension.cpp.obj
[ 2%] Building CXX object Extensions/Terrain/Source/CMakeFiles/Horde3DTerrain.dir/terrain.cpp.obj
[ 3%] Linking CXX static library libHorde3DTerrain.a
[ 3%] Built target Horde3DTerrain
[ 3%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimatables.cpp.obj
[ 4%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimation.cpp.obj
[ 4%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCamera.cpp.obj
[ 5%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCom.cpp.obj
[ 5%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egComputeNode.cpp.obj
[ 6%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egComputeBuffer.cpp.obj
[ 6%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egExtensions.cpp.obj
[ 7%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egGeometry.cpp.obj
[ 7%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egLight.cpp.obj
[ 8%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMain.cpp.obj
[ 9%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMaterial.cpp.obj
[ 9%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModel.cpp.obj
[ 10%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModules.cpp.obj
[ 10%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egParticle.cpp.obj
[ 11%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPipeline.cpp.obj
[ 11%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPrimitives.cpp.obj
[ 12%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRenderer.cpp.obj
[ 12%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egResource.cpp.obj
[ 13%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egScene.cpp.obj
[ 13%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egSceneGraphRes.cpp.obj
[ 14%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egShader.cpp.obj
[ 14%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egShaderParser.cpp.obj
[ 15%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egTexture.cpp.obj
[ 15%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/utImage.cpp.obj
[ 16%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRendererBaseGL2.cpp.obj
[ 16%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRendererBaseGL4.cpp.obj
[ 17%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/utOpenGL.cpp.obj
[ 17%] Linking CXX shared library ..\..\..\Binaries\Windows\Debug\libHorde3D.dll
[ 17%] Built target Horde3D
[ 17%] Building CXX object Horde3D/Source/Horde3DUtils/CMakeFiles/Horde3DUtils.dir/main.cpp.obj
[ 18%] Linking CXX shared library ..\..\..\Binaries\Windows\Debug\libHorde3DUtils.dll
[ 18%] Built target Horde3DUtils
[ 18%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/converter.cpp.obj
[ 19%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/daeMain.cpp.obj
[ 19%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/main.cpp.obj
[ 20%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/optimizer.cpp.obj
[ 20%] Building CXX object Horde3D/Source/ColladaConverter/CMakeFiles/ColladaConv.dir/utils.cpp.obj
[ 21%] Linking CXX executable ..\..\..\Binaries\Windows\Debug\ColladaConv.exe
[ 21%] Built target ColladaConv
[ 21%] Built target CopyPlatformFiles
[ 21%] Creating directories for 'project_lua'
[ 21%] Performing download step (download, verify and extract) for 'project_lua'
-- project_lua download command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project_
lua-stamp/project_lua-download-*.log
[ 21%] No update step for 'project_lua'
[ 22%] Performing patch step for 'project_lua'
[ 23%] Performing configure step for 'project_lua'
-- project_lua configure command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project
_lua-stamp/project_lua-configure-*.log
[ 23%] Performing build step for 'project_lua'
-- project_lua build command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project_lua
-stamp/project_lua-build-*.log
[ 24%] Performing install step for 'project_lua'
-- project_lua install command succeeded. See also C:/Horde3D-develop/ed/Horde3DEditor/project_lua-prefix/src/project_l
ua-stamp/project_lua-install-*.log
[ 25%] Completed 'project_lua'
[ 25%] Built target project_lua
[ 26%] Built target LUA_LIBRARY_EXTERN
[ 26%] Built target EditorLib_autogen_timestamp_deps
[ 27%] Automatic MOC and UIC for target EditorLib
[ 27%] Built target EditorLib_autogen
[ 28%] Building CXX object Horde3DEditor/src/EditorLib/CMakeFiles/EditorLib.dir/EditorLib_autogen/mocs_compilation.cpp.o
bj
In file included from C:\Horde3D-develop\ed\Horde3DEditor\src\EditorLib\EditorLib_autogen\EWIEGA46WW/moc_TextEdit.cpp:9,
from C:\Horde3D-develop\ed\Horde3DEditor\src\EditorLib\EditorLib_autogen\mocs_compilation.cpp:3:
C:/Horde3D-develop/Horde3DEditor/src/EditorLib/TextEdit.h:29:10: fatal error: QTextEdit: No such file or directory
#include <QTextEdit>
^~~~~~~~~~~
compilation terminated.
make[2]: *** [Horde3DEditor\src\EditorLib\CMakeFiles\EditorLib.dir\build.make:82: Horde3DEditor/src/EditorLib/CMakeFiles
/EditorLib.dir/EditorLib_autogen/mocs_compilation.cpp.obj] Error 1
make[1]: *** [CMakeFiles\Makefile2:794: Horde3DEditor/src/EditorLib/CMakeFiles/EditorLib.dir/all] Error 2
make: *** [Makefile:90: all] Error 2
C:\Horde3D-develop\ed>pause
Press any key to continue . . .
I thought maybe I'm over complicating it and tried your readme.md cmake command for building the editor:
C:\Horde3D-develop\ed>rm -rf *
C:\Horde3D-develop\ed>cmake .. -G "MinGW Makefiles" -DHORDE3D_BUILD_EDITOR=ON -DHORDE3D_BUILD_EXAMPLES=OFF -DQt6_DIR=C
:\Qt\6.7.2\mingw_64\lib\cmake\Qt6 --debug-find-pkg=Qt6Widgets
Running with debug output on for the 'find' commands for package(s) Qt6Widgets.
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Strawberry/c/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Strawberry/c/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for strncpy_s
-- Looking for strncpy_s - found
Not building examples.
-- Found OpenGL: opengl32
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Warning at C:/Qt/Tools/CMake_64/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
By not providing "FindQt6CoreTools.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt6CoreTools", but CMake did not find one.
Could not find a package configuration file provided by "Qt6CoreTools"
(requested version 6.7.2) with any of the following names:
Qt6CoreToolsConfig.cmake
qt6coretools-config.cmake
Add the installation prefix of "Qt6CoreTools" to CMAKE_PREFIX_PATH or set
"Qt6CoreTools_DIR" to a directory containing one of the above files. If
"Qt6CoreTools" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsDependencies.cmake:12 (find_dependency)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsConfig.cmake:36 (include)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:65 (find_package)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:37 (_qt_internal_find_tool_dependencies)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:43 (include)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
Horde3DEditor/CMakeLists.txt:7 (find_package)
CMake Warning at C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:65 (find_package):
Found package configuration file:
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsConfig.cmake
but it set Qt6WidgetsTools_FOUND to FALSE so package "Qt6WidgetsTools" is
considered to be NOT FOUND. Reason given by package:
Qt6WidgetsTools could not be found because dependency Qt6CoreTools could
not be found.
Call Stack (most recent call first):
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:37 (_qt_internal_find_tool_dependencies)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:43 (include)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
Horde3DEditor/CMakeLists.txt:7 (find_package)
CMake Warning at C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package):
Found package configuration file:
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake
but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered
to be NOT FOUND. Reason given by package:
Qt6Widgets could not be found because dependency Qt6WidgetsTools could not
be found.
Configuring with --debug-find-pkg=Qt6WidgetsTools might reveal details why
the package was not found.
Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.
Call Stack (most recent call first):
Horde3DEditor/CMakeLists.txt:7 (find_package)
CMake Debug Log at C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package):
The internally managed CMAKE_FIND_PACKAGE_REDIRECTS_DIR.
C:/Horde3D-develop/ed/CMakeFiles/pkgRedirects
Paths specified by the find_package HINTS option.
none
Paths specified by the find_package PATHS option.
C:/Qt/6.7.2/mingw_64/lib/cmake
find_package considered the following locations for Qt6Widgets's Config
module:
C:/Horde3D-develop/ed/CMakeFiles/pkgRedirects/Qt6WidgetsConfig.cmake
C:/Horde3D-develop/ed/CMakeFiles/pkgRedirects/qt6widgets-config.cmake
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6WidgetsConfig.cmake
C:/Qt/6.7.2/mingw_64/lib/cmake/qt6widgets-config.cmake
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake
The file was found at
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake
Call Stack (most recent call first):
Horde3DEditor/CMakeLists.txt:7 (find_package)
CMake Warning at Horde3DEditor/CMakeLists.txt:7 (find_package):
Found package configuration file:
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:
Failed to find required Qt component "Widgets".
Expected Config file at
"C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" exists
Configuring with --debug-find-pkg=Qt6Widgets might reveal details why the
package was not found.
Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.
-- Found unsuitable Qt version "" from NOTFOUND
CMake Error at Horde3DEditor/CMakeLists.txt:24 (message):
Required Qt components not found!
-- Configuring incomplete, errors occurred!
I dont know why, but it's not finding QT6 at all :/
First thing to check: did you install widgets in online editor? Please recheck. It seems that you would have to provide all the required paths to Qt6 cmake files. The ones that are required to build editor:
<qt installation path>/lib/cmake/Qt6
<qt installation path>/lib/cmake/Qt6Core
<qt installation path>/lib/cmake/Qt6CoreTools
<qt installation path>/lib/cmake/Qt6Gui
<qt installation path>/lib/cmake/Qt6GuiTools
<qt installation path>/lib/cmake/Qt6OpenGL
<qt installation path>/lib/cmake/Qt6Widgets
<qt installation path>/lib/cmake/Qt6WidgetsTools
<qt installation path>/lib/cmake/Qt6Xml
I do not see you providing path to Qt6Widgets in your first cmake command.
This is what I installed, via the online installer: Yes it did install those dependencies:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Qt\6.7.2\mingw_64\lib\cmake>dir /W
Volume in drive C has no label.
Volume Serial Number is 0AF4-703B
Directory of C:\Qt\6.7.2\mingw_64\lib\cmake
[.] [..] [Qt6]
[Qt6BuildInternals] [Qt6BundledEmbree] [Qt6BundledFreetype]
[Qt6BundledLibjpeg] [Qt6BundledLibpng] [Qt6BundledResonanceAudio]
[Qt6Charts] [Qt6ChartsQml] [Qt6Concurrent]
[Qt6Core] [Qt6CoreTools] [Qt6DBus]
[Qt6DBusTools] [Qt6Designer] [Qt6DesignerComponentsPrivate]
[Qt6DeviceDiscoverySupportPrivate] [Qt6EntryPointPrivate] [Qt6ExampleIconsPrivate]
[Qt6FbSupportPrivate] [Qt6FreetypePrivate] [Qt6Gui]
[Qt6GuiTools] [Qt6HarfbuzzPrivate] [Qt6Help]
[Qt6HostInfo] [Qt6JpegPrivate] [Qt6LabsAnimation]
[Qt6LabsFolderListModel] [Qt6LabsQmlModels] [Qt6LabsSettings]
[Qt6LabsSharedImage] [Qt6LabsWavefrontMesh] [Qt6Linguist]
[Qt6LinguistTools] [Qt6Multimedia] [Qt6MultimediaQuickPrivate]
[Qt6MultimediaWidgets] [Qt6Network] [Qt6OpenGL]
[Qt6OpenGLWidgets] [Qt6PacketProtocolPrivate] [Qt6PngPrivate]
[Qt6PrintSupport] [Qt6QDocCatchConversionsPrivate] [Qt6QDocCatchGeneratorsPrivate]
[Qt6QDocCatchPrivate] [Qt6Qml] [Qt6QmlBuiltins]
[Qt6QmlCompiler] [Qt6QmlCore] [Qt6QmlDebugPrivate]
[Qt6QmlDomPrivate] [Qt6QmlImportScanner] [Qt6QmlIntegration]
[Qt6QmlLocalStorage] [Qt6QmlLSPrivate] [Qt6QmlModels]
[Qt6QmlNetwork] [Qt6QmlToolingSettingsPrivate] [Qt6QmlTools]
[Qt6QmlTypeRegistrarPrivate] [Qt6QmlWorkerScript] [Qt6QmlXmlListModel]
[Qt6Quick] [Qt6Quick3D] [Qt6Quick3DAssetImport]
[Qt6Quick3DAssetUtils] [Qt6Quick3DEffects] [Qt6Quick3DGlslParserPrivate]
[Qt6Quick3DHelpers] [Qt6Quick3DHelpersImpl] [Qt6Quick3DIblBaker]
[Qt6Quick3DParticleEffects] [Qt6Quick3DParticles] [Qt6Quick3DRuntimeRender]
[Qt6Quick3DSpatialAudioPrivate] [Qt6Quick3DTools] [Qt6Quick3DUtils]
[Qt6QuickControls2] [Qt6QuickControls2Basic] [Qt6QuickControls2BasicStyleImpl]
[Qt6QuickControls2Fusion] [Qt6QuickControls2FusionStyleImpl] [Qt6QuickControls2Imagine]
[Qt6QuickControls2ImagineStyleImpl] [Qt6QuickControls2Impl] [Qt6QuickControls2Material]
[Qt6QuickControls2MaterialStyleImpl] [Qt6QuickControls2Universal] [Qt6QuickControls2UniversalStyleImpl]
[Qt6QuickControls2WindowsStyleImpl] [Qt6QuickControlsTestUtilsPrivate] [Qt6QuickDialogs2]
[Qt6QuickDialogs2QuickImpl] [Qt6QuickDialogs2Utils] [Qt6QuickEffectsPrivate]
[Qt6QuickLayouts] [Qt6QuickParticlesPrivate] [Qt6QuickShapesPrivate]
[Qt6QuickTemplates2] [Qt6QuickTest] [Qt6QuickTestUtilsPrivate]
[Qt6QuickTimeline] [Qt6QuickTimelineBlendTrees] [Qt6QuickTools]
[Qt6QuickWidgets] [Qt6ShaderTools] [Qt6ShaderToolsTools]
[Qt6SpatialAudio] [Qt6Sql] [Qt6Svg]
[Qt6SvgWidgets] [Qt6Test] [Qt6Tools]
[Qt6ToolsTools] [Qt6UiPlugin] [Qt6UiTools]
[Qt6Widgets] [Qt6WidgetsTools] [Qt6Xml]
[Qt6ZlibPrivate]
0 File(s) 0 bytes
124 Dir(s) 28,012,486,656 bytes free
C:\Qt\6.7.2\mingw_64\lib\cmake>
I was reading this post looks like a strange error.
C:\Horde3D-develop\ed>rm -rf *
C:\Horde3D-develop\ed>cmake .. -G "MinGW Makefiles" -DHORDE3D_BUILD_EDITOR=ON -DHORDE3D_BUILD_EXAMPLES=OFF -DQt6_DIR=C
:\Qt\6.7.2\mingw_64\lib\cmake\Qt6 -DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=C:\Qt\6.7.2\mingw_64 -D CMAKE_PREFIX_PATH=C:\Qt\6
.7.2\mingw_64\lib\cmake\Qt6 --debug-find-pkg=Qt6Widgets
Running with debug output on for the 'find' commands for package(s) Qt6Widgets.
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Qt/Tools/mingw1120_64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Qt/Tools/mingw1120_64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for strncpy_s
-- Looking for strncpy_s - found
Not building examples.
-- Found OpenGL: opengl32
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
CMake Error at C:/Horde3D-develop/ed/CMakeFiles/CMakeScratch/TryCompile-r3qz8i/CMakeLists.txt:2 (set):
Syntax error in cmake code at
C:/Horde3D-develop/ed/CMakeFiles/CMakeScratch/TryCompile-r3qz8i/CMakeLists.txt:2
when parsing string
C:/Horde3D-develop/BuildTools/CMake/Modules;C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6;C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/3r
dparty/extra-cmake-modules/find-modules;C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/3rdparty/kwin;C:\Qt\6.7.2\mingw_64/Qt6;C:\Qt\
6.7.2\mingw_64/lib/cmake/Qt6
Invalid character escape '\Q'.
CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.29/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
C:/Qt/Tools/CMake_64/share/cmake-3.29/Modules/CheckCSourceCompiles.cmake:52 (cmake_check_source_compiles)
C:/Qt/Tools/CMake_64/share/cmake-3.29/Modules/FindThreads.cmake:97 (CHECK_C_SOURCE_COMPILES)
C:/Qt/Tools/CMake_64/share/cmake-3.29/Modules/FindThreads.cmake:163 (_threads_check_libc)
C:/Qt/Tools/CMake_64/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:36 (find_dependency)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Dependencies.cmake:27 (_qt_internal_find_third_party_dependencies)
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:124 (include)
Horde3DEditor/CMakeLists.txt:7 (find_package)
CMake Warning at Horde3DEditor/CMakeLists.txt:7 (find_package):
Found package configuration file:
C:/Qt/6.7.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
C:\Horde3D-develop\ed>
It's okay, I dont need to build the Editor this badly, and I'll just give up here. I'll rise another issue next time I try. Thanks all the same for the help.
Hello again. I tried in the past building the horde3D editor but failed. I couldn't figure out which QT library to download and where to put it and how to link to it correctly.
I would like to build the editor, just in case I get into issues, like trying to use 'add attachment'.
Can someone please note some basic instructions? Mainly QT, Where/what to download.