Summary: | dev-qt/qt*:5 implement USE=examples | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | karpi <karpi.web> |
Component: | Eclasses | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | admnd, gerion.entrup, idarktemplar, ionen, mva, orzel, qwertyqwertyq, rose |
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/gentoo/gentoo/pull/4541 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=669268 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
karpi
2015-12-19 22:56:50 UTC
Examples are inseparable part of IDE. Especially for beginning pragrammers. As developers of qt-creator says on their own page: http://doc.qt.io/qt-5/qtexamplesandtutorials.html "Open and run examples within Qt Creator's Welcome mode." http://doc.qt.io/qtcreator/creator-build-example-application.html "You can test that your Qt installation is successful by opening an existing example application project." So on gentoo Qt installation isn't successful for now. (In reply to karpi from comment #1) > Examples are inseparable part of IDE. > Especially for beginning pragrammers. > As developers of qt-creator says on their own page: > > http://doc.qt.io/qt-5/qtexamplesandtutorials.html > "Open and run examples within Qt Creator's Welcome mode." > Those are *Qt* examples, not qt-creator's, and they should be installed by qt modules, not by qt-creator. So what is this bug about exactly? > http://doc.qt.io/qtcreator/creator-build-example-application.html > "You can test that your Qt installation is successful by opening an existing > example application project." > > So on gentoo Qt installation isn't successful for now. That's just one way of "testing" that the installation was successful. The lack of examples doesn't mean it wasn't successful. If you install qt-creator from ebuild and run it, examples within Qt Creator's Welcome mode are empty. They should be included in order to explore and try qt in action: http://doc.qt.io/qt-5/all-examples.html (there is not just my opinion, but all official qt doc webs assuming that, as showed in links in previous post) Best solution is: - hardmask qt-creator in portage - install it directly from original binary distribution: http://www.qt.io/download/ - or older desired version from: https://download.qt.io/archive/qt/ Whether from an external ebuild or not, I agree that examples are expected when installing qt-creator. Independantly of qt-creator, are qt5 examples available somewehere in gentoo? I could not find them. My best guess would be qtdemo, but it's currently only available for qt4 in the portage tree. I'd support pesa's bug renaming: examples should NOT install with qt-creator, but with either separate package (like thare was qtdemo for Qt3/Qt4), or with related Qt modules by "example" USE-flag. // although, it is a bit unclear how it would be with qtandroid and so on modules examples. *** Bug 588296 has been marked as a duplicate of this bug. *** Err.. so. Are examples available somewhere in gentoo for qt5 ?? (In reply to Thomas Capricelli from comment #8) > Err.. so. Are examples available somewhere in gentoo for qt5 ?? No. This is something I'd like to see implemented, but given its relatively low priority, and the never decreasing number of higher priority tasks, I don't expect it will happen in the foreseeable future. So contributions (PRs if possible) are especially encouraged in this area. *** Bug 597568 has been marked as a duplicate of this bug. *** Pull request: https://github.com/gentoo/gentoo/pull/4541 Due to implemented changes in qt5-build.eclass it is required to reinstall dev-qt/qtcore:5 first, otherwise examples for packages outside of qtbase metapackage won't build and install properly. It doesn't matter whether USE-flag "examples" is set or not for dev-qt/qtcore:5. I didn't test all packages. I've tested only that following packages look good after installation and checked examples are running fine for them: =dev-qt/qtcore-5.6.2-r2 =dev-qt/qtgui-5.6.2-r1 =dev-qt/qtwidgets-5.6.2-r1 =dev-qt/qtopengl-5.6.2-r1 =dev-qt/assistant-5.6.2-r1 =dev-qt/designer-5.6.2-r1 =dev-qt/qtsvg-5.6.2-r1 All packages which now include examples are bumped to new revision. i.Dark Templer's pull requests were all closed (due to inactivity?). Nevertheless, the code seems to live in his overlay now (as also mentioned in the third follow up pull request): https://github.com/iDarkTemplar/dt-overlay-patches I just wanted to mention it here directly, thank you! This exists in Qt6 packaging through qt-docs[examples] now, and at this point (unfortunate it's been missing for years) do not believe there's much use in aiding Qt5 development with old examples. *** Bug 669268 has been marked as a duplicate of this bug. *** |