Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] qtcreator: examples are missing

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
segmentation-fault
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Tue Oct 11, 2016 1:07 pm

[SOLVED] qtcreator: examples are missing

  • Quote

Post by segmentation-fault » Wed Feb 06, 2019 2:38 pm

This seems to be a common question - but I could not find a satisfying answer yet. The only other topic on this here seems to be Qt5 examples, but the advice given to 'untar the respective tarball' is not satisfactory - it is the job of the ebuild to untar tarballs for me.

Here is the problem: qt creator (qtcreator, from package dev-qt/qt-creator-4.6.2) lacks examples - the examples drop-down box offers no entries. The following USE flags are enabled:

Code: Select all

android clangcodemodel clangstaticanalyzer cmake cvs designer doc git glsl mercurial modeling python qbs scxml subversion valgrind webengine
I thought the doc USE flag would install examples, but it only installs two .qch files under /usr/share/doc/qtcreator.

So the question is: do I miss something so that the examples do get installed through the ebuild, or is manual installation the preferred way? A manual installation would mean either a) get the Qt installer and reinstall all somewhere in /opt - which would introduce 'duplicates' in non-standard directories, or b) inspect all my 24 tarballs in the list of

Code: Select all

ls /usr/portage/distfiles/qt*-5.*
for an 'examples' directory, extract it and include them all somewhere where they can be found by qtcreator - not very user friendly.
Last edited by segmentation-fault on Wed Feb 06, 2019 10:52 pm, edited 1 time in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Feb 06, 2019 2:50 pm

https://bugs.gentoo.org/568838
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
segmentation-fault
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Tue Oct 11, 2016 1:07 pm

  • Quote

Post by segmentation-fault » Wed Feb 06, 2019 10:45 pm

@fedeliallalinea

Thank you very much for the pointer! I missed that one...

The solution I chose is this:

Solution

Following the above bug link, one reaches a further bug (actually, an enhancement):

https://bugs.gentoo.org/669268

Get the ebuild from the attachment there:

https://bugs.gentoo.org/attachment.cgi?id=552234

Save the ebuild in a local overlay, under, say

/usr/local/portage/overlays/<overlay-name>/dev-qt/qt-examples

as

qt-examples-5.11.1.ebuild

Run

Code: Select all

ebuild qt-examples-5.11.1.ebuild digest
egencache --update --repo='<overlay-name>'
eix-update
emerge -av dev-qt/qt-examples

Voilà! All Qt5 examples are there! Enjoy! :)
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic