Detect QQC2 version at build time with actual detection.

Authored by xuetianweng on Apr 15 2020, 6:59 PM.

Description

Detect QQC2 version at build time with actual detection.

Summary:
Whenever qqc release a new version the version need to be updated.
Otherwise the feature is not available to user. This change tries
to use real qml code to detect the version by creating object until
success, force to use a minimal qpa platform when running it.

Test Plan:
Run the cmake under a env without display server and version is detected
correctly.

Reviewers: Plasma, rizzitello, davidedmundson, apol, mart

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D28859

Details

Committed
xuetianwengApr 20 2020, 1:59 PM
Reviewer
Plasma
Differential Revision
D28859: Detect QQC2 version at build time with actual detection.
Parents
R858:2c777b1b4661: [ComboBox] Use transparent dimmer
Branches
Unknown
Tags
Unknown