aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMQmlModule.cmake
AgeCommit message (Collapse)Author
2022-06-12API dox: use more markup for code or commandline samplesFriedrich W. H. Kossebau
NO_CHANGELOG
2022-04-23Drop lib prefix when building for Windows (MinGW)Julius Künzel
QQmlImportDatabase::resolvePlugin doesn't accept lib prefixes under Windows, causing to fail to import when using as a dynamic plugin. Inspired by kirigami!34
2022-02-16[ECMQmlModule] Fix doc syntaxJulius Künzel
2022-01-21ECMQmlModule: Add -Muri automoc option to make static builds work correctlyArjen Hiemstra
This is apparently needed for static QML plugins to work properly.
2022-01-21ECMQmlModule: Correct the prefix of the generated qrc to be what Qt expectsArjen Hiemstra
When the major version of a module is >1, Qt expects a .MajorVersion suffix on the module path. Since we are already doing this for the shared library install path, extract that code to a shared macro and reuse it for the prefix path in the generated qrc.
2022-01-21Set the right @since version for ECMQmlModuleArjen Hiemstra
2022-01-18Introduce ECMQmlModule.cmakeArjen Hiemstra
This contains some helper functions to make it easier to create QML modules through CMake. It takes care of several things that currently need to be done manually. It adds four tests for the four primary ways that it can be used, either as shared/static library and with or without C++ plugin.