FS#50620 - [qtcreator] Should have dependency on qt5-quickcontrols2
Attached to Project:
Arch Linux
Opened by Colin Keenan (colinkeenan) - Thursday, 01 September 2016, 03:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 02 September 2016, 16:14 GMT
Opened by Colin Keenan (colinkeenan) - Thursday, 01 September 2016, 03:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 02 September 2016, 16:14 GMT
|
Details
Description:
Without qt5-quickcontrols2 installed, it is not possible to go through the Qt Quick based tutorials for Qt Creator. Although the tutorials say to select a Qt Quick Controls Application, it is actually necessary to chose a Qt Quick Controls 2 Application in order to follow the rest of the tutorial because only version 2 creates the ui file the tutorial works with. If qt5-quickcontrols2 is not installed though, as soon as the tutorial says to run something, the following error occurs: QQmlApplicationEngine failed to load component qrc:/main.qml:2 module "QtQuick.Controls" version 2.0 is not installed Since writing Qt Quick applications is a core functionality of Qt Creator, qt5-quickcontrols2 should be included as a qtcreator dependency. Additional info: * qtcreator 4.1.0-1, qt5-base 5.7.0-2 Steps to reproduce: 1. If qt5-quickcontrols2 is installed, uninstall it. 2. Install qtcreator (even with all optional dependencies). 3. Follow the instructions for adding compilers (why isn't gcc already known by the package?) 4. Add gcc to the "Desktop" kit 5. Try to follow this tutorial: http://doc.qt.io/qtcreator/qtcreator-transitions-example.html 6. The tutorial is out of date, so choose Qt Quick Controls 2 Application instead of what the tutorial says 7. Notice the error message when you get to the step to run what you've created so far |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 02 September 2016, 16:14 GMT
Reason for closing: Implemented
Friday, 02 September 2016, 16:14 GMT
Reason for closing: Implemented
Comment by Doug Newgard (Scimmia) -
Friday, 02 September 2016, 13:23 GMT
Comment by
Sven-Hendrik Haase (Svenstaro) -
Friday, 02 September 2016, 15:38 GMT
So this is only about going through an online tutorial? Doesn't
sound like a dep to me.
The reasoning sounds reasonable. Qtcreator will probably deprecate
qt5-quickcontrols version 1 in the midterm. As such, I'm adding
qt5-quickcontrols2 as a normal dependency.