diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-05 21:31:27 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-05 21:31:27 +0800 |
| commit | a0096545d2bffc622167d3164c328af8308cc93b (patch) | |
| tree | 9ef83aee33fbbd3fd57c896b6dec1f17eba0dff2 /bootstrap.pro | |
| parent | 77a4d6f3ca3a506f24a64262f09456058247b1bb (diff) | |
Simplify & make it usable
Diffstat (limited to 'bootstrap.pro')
| -rw-r--r-- | bootstrap.pro | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/bootstrap.pro b/bootstrap.pro index cdf6b18..d5cf36e 100644 --- a/bootstrap.pro +++ b/bootstrap.pro @@ -1,13 +1,23 @@ TEMPLATE = lib -CONFIG += qt plugin qmltypes +CONFIG += plugin qmltypes QT += qml QML_IMPORT_NAME = Bootstrap QML_IMPORT_MAJOR_VERSION = 5 QML_IMPORT_MINOR_VERSION = 3 -DESTDIR = imports/$$QML_IMPORT_NAME -TARGET = qtquickcontrols2bootstrapstyleplugin +import.files = \ + qmldir \ + $${QML_IMPORT_NAME}.qml +import.path = $$[QT_INSTALL_QML]/$$QML_IMPORT_NAME -HEADERS += bootstrap.hxx -SOURCES += bootstrap.cxx +style.files = \ + ApplicationWindow.qml +style.path = $$[QT_INSTALL_QML]/QtQuick/Controls.2/$$QML_IMPORT_NAME + +HEADERS += $${TARGET}.hxx +SOURCES += $${TARGET}.cxx +TARGET = qqc2$$TARGET +target.path = $$[QT_INSTALL_QML]/$$QML_IMPORT_NAME + +INSTALLS += import style target |