#1006001 Qtcreator devel files

Package:
qtcreator
Source:
qtcreator
Description:
integrated development environment (IDE) for Qt
Submitter:
Adam Majer
Date:
2022-02-23 22:30:03 UTC
Severity:
normal
#1006001#5
Date:
2022-02-18 19:25:52 UTC
From:
To:
Hi,


I'm trying to build a plugin for qtcreator [1], and also if I can,
package it. The question is that package requires:

QtCreatorConfig.cmake
qtcreator-config.cmake

I don't know if other distros provide a qtcreator devel package but I
would like to ask you if it could be possible that you provide in the
qtcreator package some devel stuff (qtcreator-dev??) to build plugins.

Best regards,


Leopold


[1] https://github.com/ros-industrial/ros_qtc_plugin

#1006001#10
Date:
2022-02-23 22:13:13 UTC
From:
To:
Hi all!!

I have investigated a bit, but I need your experience. Using the salsa
repo of qtcreator, I have added in control a new package:
---------------------------------------------- diff --git a/debian/control b/debian/control index 5b810ce..980a927 100644 --- a/debian/control +++ b/debian/control @@ -104,3 +104,17 @@ Description: documentation for Qt Creator IDE and easier. . This package contains documentation for Qt Creator IDE. + +Package: qtcreator-devel +Architecture: all +Multi-Arch: foreign +Section: doc +Depends: ${misc:Depends} +Suggests: qt5-datga +Description: Devel files to create plugins for Qt Creator IDE + Qt Creator is a cross-platform integrated development environment (IDE) + designed to make development with the Qt application framework faster + and easier. + . + This package contains source code of Qt Creator IDE needed to build + plugins. ---------------------------------------------- In the rules file, I have activated the devel component:
---------------------------------------------- diff --git a/debian/rules b/debian/rules index b552a4e..bdc3d26 100755 --- a/debian/rules +++ b/debian/rules @@ -42,6 +42,7 @@ execute_after_dh_auto_install: ifneq (,$(filter qtcreator-doc, $(shell dh_listpackages))) DESTDIR=$(CURDIR)/debian/tmp cmake --install $(CURDIR)/builddir --component qch_docs DESTDIR=$(CURDIR)/debian/tmp cmake --install $(CURDIR)/builddir --component html_docs + DESTDIR=$(CURDIR)/debian/tmp cmake --install $(CURDIR)/builddir --component Devel endif # Not needed ---------------------------------------------- And in the debian directory, I have added debian/qtcreator-devel.install with:
---------------------------------------------- usr/include/qtcreator usr/src usr/lib/cmake usr/src/qtcreator ---------------------------------------------- I have tried to follow the directory structure from the arch package [1]. Probably I will have made some mistakes. Although the package is built (also backported for bullseye), I have some trouble when I try to build a plugin, specially with the paths. So, please, could you check it? Best regards, Leopold [1] https://archlinux.pkgs.org/rolling/ownstuff-x86_64/qtcreator-src-6.0.1-1-any.pkg.tar.zst.html