[Bug 1197978] New: Qt Creator (qt5-creator-plugin-devel) has no QtCreatorConfig.cmake
http://bugzilla.opensuse.org/show_bug.cgi?id=1197978 Bug ID: 1197978 Summary: Qt Creator (qt5-creator-plugin-devel) has no QtCreatorConfig.cmake Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: w01dnick@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- With Qt Creator 7 plugin qmake support was removed and only cmake is supported. I've tried to move my plugin to cmake, but there are no plugin cmake files in `qt5-creator-plugin-devel` (or `qt5-creator`) packages. qt.io binaries have `lib/cmake/QtCreator` directory with `QtCreatorConfig.cmake` and other cmake files, but there is no similar directory (`/usr/lib64/cmake/qt5-creator` or `/usr/lib64/cmake/QtCreator` or `/usr/lib64/cmake/Qt5Creator`) in our RPMs. So I can't build even "empty" plugin just created by QtCreator's wizard. I've tried to dig slightly into it (almost zero cmake knowledge), on build stage there is cmake folder with `QtCreatorConfig.cmake` in it created by `src/CMakeLists.txt` but for some reason they are not present in install (though they seem should be there as `install()` is present in that CMakeLists). It'd be nice to have them in RPMs to be able to build Qt Creator plugins. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197978 http://bugzilla.opensuse.org/show_bug.cgi?id=1197978#c1 --- Comment #1 from Christophe Giboudeaux <christophe@krop.fr> --- AFAIK, there's nothing in the qtcreator build system that permits installing QtCreatorConfig.cmake. Even qt*-creator-plugin-devel is created manually in our packages. The plugin template shipped by qt-creator also looks broken. If I try to create a plugin with the wizard, the generated CMakeLists.txt contains: project(Foo) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_CXX_STANDARD 17) find_package(QtCreator REQUIRED COMPONENTS Core) find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) -------------^^ This looks broken to me. There's no FindQT.cmake -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197978 http://bugzilla.opensuse.org/show_bug.cgi?id=1197978#c2 --- Comment #2 from Christophe Giboudeaux <christophe@krop.fr> --- I got the missing information from upstream, I'll look at this -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197978 http://bugzilla.opensuse.org/show_bug.cgi?id=1197978#c3 Christophe Giboudeaux <christophe@krop.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Christophe Giboudeaux <christophe@krop.fr> --- The package was submitted to openSUSE Tumbleweed. It will be available in one of the next snapshots. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197978 http://bugzilla.opensuse.org/show_bug.cgi?id=1197978#c4 --- Comment #4 from Mykola Krachkovsky <w01dnick@gmail.com> --- (In reply to Christophe Giboudeaux from comment #3)
The package was submitted to openSUSE Tumbleweed. It will be available in one of the next snapshots.
I've installed it from KDE:Qt6 to test and building plugin works now. Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197978 http://bugzilla.opensuse.org/show_bug.cgi?id=1197978#c5 --- Comment #5 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1197978) was mentioned in https://build.opensuse.org/request/show/988585 Backports:SLE-15-SP4 / qt-creator -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com