AOSC OS3 Version Helper
You need to buy a commerical license!
-
Create a .qrc file, for example ./resources.qrc, for your application and include all the files your project needs, including .qml , .js and qmldir files.
-
Add the file name of your .qrc file to RESOURCES in your .pro file, for example ./AOSC-VersionHelper2.pro.
-
Change your application to use qrc: URLs instead of file: in order to become file system independent, for example, in ./cpp/main.cpp, we use
QQmlApplicationEngine engine(QUrl("qrc:/qml/AOSC-VersionHelper2.qml"));
- you can activate the integration with the Qt Quick Compiler by passing
CONFIG += qtquickcompiler
to qmake, for example on the command line or in the build settings of your project in Qt Creator, as additional argument in the qmake build steps.
lupdate qml/*.qml -ts translations/AOSC-VersionHelper2_zh_CN.ts
lrelease translations/AOSC-VersionHelper2_zh_CN.ts
qmake
make