mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
cmake: restore out-of-source build
Qt translations have to be compiled in a shared library or executable, and since we use static libraries for the components, webui translation files have to be compiled into the main executable.
This commit is contained in:
@@ -27,7 +27,7 @@ SOURCES += \
|
||||
$$PWD/webapplication.cpp \
|
||||
$$PWD/webui.cpp
|
||||
|
||||
RESOURCES += $$PWD/www/webui.qrc
|
||||
RESOURCES += $$PWD/www/webui.qrc $$PWD/www/translations/webui_translations.qrc
|
||||
|
||||
# WebUI Translation
|
||||
isEmpty(QMAKE_LRELEASE) {
|
||||
|
||||
Reference in New Issue
Block a user