Am Montag, 22. Januar 2018, 15:53:39 schrieb Wolfgang Bauer:
It seems as if Qt Creator doesn't look into the Qt5 paths we use in openSUSE. It does display the Qt4 examples if installed (I suppose that's not what you want though... ;-) ), and it also (only) displays the Qt4 docs.
PS, found this: https://wiki.qt.io/Qt_Examples_in_Qt_Creator#Sources So Qt Creator is running "qmake --query" to find the locations. But /usr/bin/qmake points to the Qt4 version in openSUSE... Try to add a new "Qt Version" in Tools->Options...->Build & Run->Qt versions and choose /usr/bin/qmake-qt5 as qmake executable, you'd probably want that for building Qt5 applications anyway. (btw, you need libqt5-doc installed as well for the Qt5 docs and examples to show up) If you don't need it, you could also remove the likely existing Qt4 config there. We should probably patch Qt Creator to use qmake-qt5 by default. Or make /usr/bin/qmake point to qmake-qt5, but that would likely break building some still existing Qt4 packages... Maybe managing /usr/bin/qmake via update-alternatives could be a "solution" though. I think that wouldn't help though if there's already a Qt Creator config, i.e. if you already used (or at least started) it. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org