Skip to content

Commit

Permalink
🔧 Don't generate a qt.conf on Linux
Browse files Browse the repository at this point in the history
This breaks the interface
  • Loading branch information
AnotherFoxGuy committed Feb 24, 2024
1 parent fe201ba commit 0d034aa
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,22 +436,6 @@ else()
endif()
endif()

if ("$ENV{OVERTE_USE_SYSTEM_QT}" STREQUAL "")
if (DEV_BUILD AND (APPLE OR UNIX))
# create a qt.conf file to override hard-coded search paths in Qt libs
set(QT_LIB_PATH "${QT_CMAKE_PREFIX_PATH}/../..")
if (APPLE)
set(QT_CONF_FILE "${RESOURCES_DEV_DIR}/../Resources/qt.conf")
else ()
set(QT_CONF_FILE "${INTERFACE_EXEC_DIR}/qt.conf")
endif ()
file(GENERATE
OUTPUT "${QT_CONF_FILE}"
CONTENT "[Paths]\nPrefix=${QT_LIB_PATH}\n"
)
endif()
endif()

if (SCRIPTS_INSTALL_DIR)
# setup install of scripts beside interface executable
install(
Expand Down

0 comments on commit 0d034aa

Please sign in to comment.