FS#48728 - [qtcreator] Where is qt5-examples
Attached to Project:
Arch Linux
Opened by HKKH (HKKH) - Monday, 28 March 2016, 13:39 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 06 April 2016, 19:54 GMT
Opened by HKKH (HKKH) - Monday, 28 March 2016, 13:39 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 06 April 2016, 19:54 GMT
|
Details
Hello!
Why Qtcreator-3.6.1 don't show qt examples? Only 3 examples! |
This task depends upon
Closed by Antonio Rojas (arojas)
Wednesday, 06 April 2016, 19:54 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-examples 5.6.0-2
Wednesday, 06 April 2016, 19:54 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-examples 5.6.0-2
qt-examples.png
https://www.archlinux.org/packages/extra/any/qt5-examples/
$ export QTC_DEBUG_EXAMPLESMODEL=1
$ qtcreator
"Reading file \"/usr/share/qtcreator/welcomescreen/qtcreator_tutorials.xml\"..."
"Reading file \"/usr/share/doc/qt/activeqt/examples-manifest.xml\"..."
"ERROR: Item \"COM App Example (ActiveQt)\" broken: projectPath \"/usr/share/doc/qt/activeqt/qtactiveqt/activeqt/comapp/comapp.pro\" empty or does not exist"
"ERROR: Item \"Hierarchy Example (ActiveQt)\" broken: projectPath \"/usr/share/doc/qt/activeqt/qtactiveqt/activeqt/hierarchy/hierarchy.pro\" empty or does not exist"
...
The problem is the projectpath attribute in the examples-manifest.xml files are incorrect. I think you need to regenerate these files using the qdoc tool but first check your environment so the correct projectpath value are written. The correct project path for the above example on my workstation is /usr/share/doc/qt/examples/activeqt/comapp/comapp.pro.
There is more information available at https://wiki.qt.io/Qt_Examples_in_Qt_Creator
Thinking about it, the bug might actually be in the qt5-doc package as this package contains the examples-manifest.xml files. Some collaboration between qt5-examples and qt5-doc might be required to fix the bug.