Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-29 Thread Lisandro Damián Nicanor Pérez Meyer
As a workaround passing -DQT_SKIP_AUTO_PLUGIN_INCLUSION=ON solves this issue.

I need to check if we can propagate this variable from qtbase itself.

signature.asc
Description: This is a digitally signed message part.


Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-20 Thread Lisandro Damián Nicanor Pérez Meyer
Hi,

On Tue, 20 Jun 2023 at 09:42, Oswald Buddenhagen
 wrote:
>
> cmake files are necessary for static builds, because the "plugins"
> aren't actually plugins then. at least i'm assuming that this
> functionality wasn't lost during the cmake port ...
>
> plugins may also be listed as runtime dependencies for deployment.
> theoretically - whether that was actually implemented, i don't know.

Exactly, and these are not expected Debian targets...

> neither of these are immediately relevant for a regular desktop build,
> but you shouldn't be surprised when applications fail to build due to
> formally missing dependencies.

...but we already found a couple of examples on which they way the
CMake files are done you need to install them non the less. So ideally
we shouldn't ship the CMake files, but sometimes there is no way
around it :-/


-- 
Lisandro Damián Nicanor Pérez Meyer
https://perezmeyer.com.ar/



Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-20 Thread Oswald Buddenhagen
cmake files are necessary for static builds, because the "plugins" 
aren't actually plugins then. at least i'm assuming that this 
functionality wasn't lost during the cmake port ...


plugins may also be listed as runtime dependencies for deployment.  
theoretically - whether that was actually implemented, i don't know.


neither of these are immediately relevant for a regular desktop build, 
but you shouldn't be surprised when applications fail to build due to 
formally missing dependencies.




Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-20 Thread Patrick Franz
Hej,

Am Dienstag, 20. Juni 2023, 12:12:15 CEST schrieb Dmitry Shachnev:
> I don't think we need to ship the cmake files for plugins at all. In
> Qt 5 they were only creating issues, so I didn't ship them.
> 
> Nothing links against plugins, and Qt can find them without the need
> for cmake files.

Yes, we had a similar issue in another module I think. I'll simply 
remove the corresponding cmake-files.


-- 
Med vänliga hälsningar

Patrick Franz



Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-20 Thread Dmitry Shachnev
On Tue, Jun 20, 2023 at 10:09:13AM +0200, Oswald Buddenhagen wrote:
> Package: qt6-declarative-dev
> Version: 6.4.2+dfsg-1
> Severity: normal
> 
> trying to build qt creator, i got this error message:
> 
> ===
> CMake Error at 
> /usr/lib/x86_64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlLintQuickPluginTargets.cmake:96
>  (message):
>   The imported target "Qt6::QmlLintQuickPlugin" references the file
> 
>  "/usr/lib/x86_64-linux-gnu/qt6/plugins/qmllint/libquicklintplugin.so"
> 
>   but this file does not exist.  Possible reasons include:
> 
>   * The file was deleted, renamed, or moved to another location.
> 
>   * An install or uninstall procedure did not complete successfully.
> 
>   * The installation package was faulty and contained
> 
>  
> "/usr/lib/x86_64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlLintQuickPluginTargets.cmake"
> 
>   but not all the files it references.
> ===
> 
> installing qt6-qmllint-plugins fixes the issue.
> i suppose you might need to split off qt6-qmllint-plugins-dev.

I don't think we need to ship the cmake files for plugins at all. In Qt 5 they
were only creating issues, so I didn't ship them.

Nothing links against plugins, and Qt can find them without the need for cmake
files.

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-20 Thread Oswald Buddenhagen
Package: qt6-declarative-dev
Version: 6.4.2+dfsg-1
Severity: normal

trying to build qt creator, i got this error message:

===
CMake Error at 
/usr/lib/x86_64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlLintQuickPluginTargets.cmake:96
 (message):
  The imported target "Qt6::QmlLintQuickPlugin" references the file

 "/usr/lib/x86_64-linux-gnu/qt6/plugins/qmllint/libquicklintplugin.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

 
"/usr/lib/x86_64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlLintQuickPluginTargets.cmake"

  but not all the files it references.
===

installing qt6-qmllint-plugins fixes the issue.
i suppose you might need to split off qt6-qmllint-plugins-dev.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qt6-declarative-dev depends on:
ii  libqt6labsanimation6   6.4.2+dfsg-1
ii  libqt6labsfolderlistmodel6 6.4.2+dfsg-1
ii  libqt6labsqmlmodels6   6.4.2+dfsg-1
ii  libqt6labssettings66.4.2+dfsg-1
ii  libqt6labssharedimage6 6.4.2+dfsg-1
ii  libqt6labswavefrontmesh6   6.4.2+dfsg-1
ii  libqt6opengl6-dev  6.4.2+dfsg-11
ii  libqt6qml6 6.4.2+dfsg-1
ii  libqt6qmlcompiler6 6.4.2+dfsg-1
ii  libqt6qmlcore6 6.4.2+dfsg-1
ii  libqt6qmllocalstorage6 6.4.2+dfsg-1
ii  libqt6qmlmodels6   6.4.2+dfsg-1
ii  libqt6qmlworkerscript6 6.4.2+dfsg-1
ii  libqt6qmlxmllistmodel6 6.4.2+dfsg-1
ii  libqt6quick6   6.4.2+dfsg-1
ii  libqt6quickcontrols2-6 6.4.2+dfsg-1
ii  libqt6quickcontrols2impl6  6.4.2+dfsg-1
ii  libqt6quickdialogs2-6  6.4.2+dfsg-1
ii  libqt6quickdialogs2quickimpl6  6.4.2+dfsg-1
ii  libqt6quickdialogs2utils6  6.4.2+dfsg-1
ii  libqt6quicklayouts66.4.2+dfsg-1
ii  libqt6quickparticles6  6.4.2+dfsg-1
ii  libqt6quickshapes6 6.4.2+dfsg-1
ii  libqt6quicktemplates2-66.4.2+dfsg-1
ii  libqt6quicktest6   6.4.2+dfsg-1
ii  libqt6quickwidgets66.4.2+dfsg-1
ii  qt6-base-dev   6.4.2+dfsg-11
ii  qt6-declarative-dev-tools  6.4.2+dfsg-1
ii  qt6-qmltooling-plugins 6.4.2+dfsg-1

qt6-declarative-dev recommends no packages.

qt6-declarative-dev suggests no packages.

-- no debconf information