aboutsummaryrefslogtreecommitdiff
path: root/ports/qtquickcontrols2
diff options
context:
space:
mode:
Diffstat (limited to 'ports/qtquickcontrols2')
-rw-r--r--ports/qtquickcontrols2/portfile.cmake14
-rw-r--r--ports/qtquickcontrols2/vcpkg.json21
2 files changed, 35 insertions, 0 deletions
diff --git a/ports/qtquickcontrols2/portfile.cmake b/ports/qtquickcontrols2/portfile.cmake
new file mode 100644
index 000000000..df909777b
--- /dev/null
+++ b/ports/qtquickcontrols2/portfile.cmake
@@ -0,0 +1,14 @@
+set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
+include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+
+set(${PORT}_PATCHES)
+
+#make sure your <vcpkg_root> path is really short! Otherwise the build will probably fail.
+# or maybe try to switch the build to nmake.
+#set(ENV{CMAKE_BUILD_PARALLEL_LEVEL} 1)
+
+qt_install_submodule(PATCHES ${${PORT}_PATCHES}
+ CONFIGURE_OPTIONS
+ CONFIGURE_OPTIONS_RELEASE
+ CONFIGURE_OPTIONS_DEBUG
+ )
diff --git a/ports/qtquickcontrols2/vcpkg.json b/ports/qtquickcontrols2/vcpkg.json
new file mode 100644
index 000000000..8e37ea196
--- /dev/null
+++ b/ports/qtquickcontrols2/vcpkg.json
@@ -0,0 +1,21 @@
+{
+ "name": "qtquickcontrols2",
+ "version-semver": "6.1.0",
+ "description": "Qt Quick Controls 2",
+ "homepage": "https://www.qt.io/",
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false
+ },
+ "qtdeclarative"
+ ],
+ "default-features": [
+ "default-features"
+ ],
+ "features": {
+ "default-features": {
+ "description": "Platform-dependent default features"
+ }
+ }
+}