summaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-03-31 17:18:19 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-03-31 17:18:19 +0300
commita24c35ed41b192d8090827f0b92ddcbf696743cd (patch)
tree7c3b112d47c154285fa45c0f711a954fdd2dd92b /launcher
parenta3e21848f96b30e2792bb4d95bcca10a7440447c (diff)
downloadProject-Tick-a24c35ed41b192d8090827f0b92ddcbf696743cd.tar.gz
Project-Tick-a24c35ed41b192d8090827f0b92ddcbf696743cd.zip
NOISSUE enhance CMake installation to correctly configure qt.conf
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt
index c52138ddb6..adabf31569 100644
--- a/launcher/CMakeLists.txt
+++ b/launcher/CMakeLists.txt
@@ -1124,9 +1124,9 @@ if(WIN32 OR (UNIX AND APPLE))
]])
endif()
- # Add qt.conf - this makes Qt stop looking for things outside the bundle
+ # Add qt.conf - tell Qt where to find plugins relative to the executable
install(
- CODE "file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${RESOURCES_DEST_DIR}/qt.conf\" \" \")"
+ CODE "file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${RESOURCES_DEST_DIR}/qt.conf\" \"[Paths]\nPlugins = ${PLUGIN_DEST_DIR}\n\")"
)
# Add qtlogging.ini as a config file
install(