mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
Remove QtScript dependency in CMakeLists
This commit is contained in:
parent
3569b63e24
commit
9825ee78c1
@ -5,11 +5,11 @@ find_package(PNG REQUIRED)
|
||||
|
||||
find_package(
|
||||
QT NAMES Qt6 Qt5
|
||||
COMPONENTS Core Widgets Sql Network Xml Svg Qml PrintSupport Script UiTools
|
||||
COMPONENTS Core Widgets Sql Network Xml Svg Qml PrintSupport UiTools
|
||||
)
|
||||
find_package(
|
||||
Qt${QT_VERSION_MAJOR}
|
||||
COMPONENTS Core Widgets Sql Network Xml Svg Qml PrintSupport Script UiTools
|
||||
COMPONENTS Core Widgets Sql Network Xml Svg Qml PrintSupport UiTools
|
||||
)
|
||||
|
||||
# Old Qt does not provide QT_VERSION_MAJOR
|
||||
@ -282,13 +282,13 @@ ${PROJECT_NAME}/translationeditor/languageselectdialog.ui
|
||||
${PROJECT_NAME}/translationeditor/translationeditor.ui
|
||||
|
||||
|
||||
./${PROJECT_NAME}/databrowser/lrdatabrowser.qrc
|
||||
./${PROJECT_NAME}/dialogdesigner/dialogdesigner.qrc
|
||||
./${PROJECT_NAME}/items/items.qrc
|
||||
./${PROJECT_NAME}/objectinspector/lobjectinspector.qrc
|
||||
./${PROJECT_NAME}/report.qrc
|
||||
./${PROJECT_NAME}/scriptbrowser/lrscriptbrowser.qrc
|
||||
./${PROJECT_NAME}/translationeditor/translationeditor.qrc
|
||||
${PROJECT_NAME}/databrowser/lrdatabrowser.qrc
|
||||
${PROJECT_NAME}/dialogdesigner/dialogdesigner.qrc
|
||||
${PROJECT_NAME}/items/items.qrc
|
||||
${PROJECT_NAME}/objectinspector/lobjectinspector.qrc
|
||||
${PROJECT_NAME}/report.qrc
|
||||
${PROJECT_NAME}/scriptbrowser/lrscriptbrowser.qrc
|
||||
${PROJECT_NAME}/translationeditor/translationeditor.qrc
|
||||
)
|
||||
|
||||
if (ENABLE_ZINT)
|
||||
@ -409,7 +409,6 @@ target_link_libraries( ${PROJECT_NAME} PUBLIC
|
||||
Qt${QT_VERSION_MAJOR}::Xml
|
||||
Qt${QT_VERSION_MAJOR}::Sql
|
||||
Qt${QT_VERSION_MAJOR}::PrintSupport
|
||||
Qt${QT_VERSION_MAJOR}::Script
|
||||
Qt${QT_VERSION_MAJOR}::Svg
|
||||
Qt${QT_VERSION_MAJOR}::UiTools)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user