StudioWelcome: Fix build for qbs and qmake

Amends a850b1b866.

Change-Id: I80da98f264020ab803c711d1bdf2eeb691fa60af
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Stenger
2021-11-10 07:17:04 +01:00
parent a850b1b866
commit c8e4b32ee1
3 changed files with 23 additions and 11 deletions

View File

@@ -15,18 +15,23 @@ HEADERS += \
newprojectdialogimageprovider.h \
qdsnewdialog.h \
wizardfactories.h \
wizardhandler.h \
createproject.h \
newprojectmodel.h \
examplecheckout.h
examplecheckout.h \
screensizemodel.h \
stylemodel.h
SOURCES += \
studiowelcomeplugin.cpp \
qdsnewdialog.cpp \
wizardfactories.cpp \
wizardhandler.cpp \
createproject.cpp \
newprojectdialogimageprovider.cpp \
newprojectmodel.cpp \
examplecheckout.cpp
examplecheckout.cpp \
stylemodel.cpp
OTHER_FILES += \
StudioWelcome.json.in

View File

@@ -9,27 +9,33 @@ QtcPlugin {
Depends { name: "Core" }
Depends { name: "ProjectExplorer" }
Depends { name: "QtSupport" }
Depends { name: "QmlDesigner" }
Depends { name: "app_version_header" }
cpp.defines: 'STUDIO_QML_PATH="' + FileInfo.joinPaths(sourceDirectory, "qml") + '"'
files: [
"studiowelcome_global.h",
"studiowelcomeplugin.h",
"studiowelcomeplugin.cpp",
"qdsnewdialog.cpp",
"qdsnewdialog.h",
"wizardfactories.cpp",
"wizardfactories.h",
"createproject.cpp",
"createproject.h",
"newprojectmodel.cpp",
"newprojectmodel.h",
"examplecheckout.h",
"examplecheckout.cpp",
"newprojectdialogimageprovider.h",
"newprojectdialogimageprovider.cpp",
"newprojectmodel.cpp",
"newprojectmodel.h",
"qdsnewdialog.cpp",
"qdsnewdialog.h",
"screensizemodel.h",
"studiowelcome_global.h",
"studiowelcomeplugin.h",
"studiowelcomeplugin.cpp",
"studiowelcome.qrc",
"stylemodel.cpp",
"stylemodel.h",
"wizardfactories.cpp",
"wizardfactories.h",
"wizardhandler.cpp",
"wizardhandler.h",
]
Group {

View File

@@ -6,5 +6,6 @@ QTC_LIB_DEPENDS += \
QTC_PLUGIN_DEPENDS += \
coreplugin \
projectexplorer \
qmldesigner \
qtsupport