Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 15.0.0
-
-
3d7cbe122 (15.0), 97a37eb6f (15.0), 936aa3762 (15.0), 1d415800f (16.0), 9b4b8cf43 (16.0), ff476ee8f (16.0)
Description
Ubuntu 24.04
Yocto
qmake
When opening the project, we get the following error: ':-1: error: Project ERROR: libhal development package not found'. libhal is one of the libraries installed in the docker container that we wish to use while compiling the project.
Creator logs show a warning coming from qtc.docker.device stating that a process failed to start, specifically a call that appears to be using pkg-config to check if libhal exists on the Docker container. Both libhal.so and libhal.pc exist on the container and pkg-config is also installed on the container. Launching the container directly and run the following command 'pkg-config --exists --print-errors libhal', pkg-config has no trouble finding the package.
Relevant part of the log:
/bin/sh -c 'type /bin/sh >/dev/null && echo __qtc$$qtc__ && exec /bin/sh -c '\\''pkg-config 2> /dev/null 2> /dev/null --exists libhal'\\'''.
By running the command after removing the calls to redirect standard error and adding the "--print-errors" flag for pkg-config gives the following error: 'Must specify package names on the command line'.
Attachments
For Gerrit Dashboard: QTCREATORBUG-32325 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
617533,4 | Docker: Improve support for non-standard process channel modes | 16.0 | qt-creator/qt-creator | Status: NEW | +2 | 0 |
617825,2 | Utils: Fix quoting on Linux | 16.0 | qt-creator/qt-creator | Status: NEW | -1 | -1 |
617527,4 | Utils: Add overloads for CommandLine with osType | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
617528,4 | Utils: Fix quoting on Linux | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
617529,4 | QMakeProjectManager: Fix mkspec path for remote devices | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
617530,6 | QtSupport: Only use relative paths for mkspec locally | 16.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
617532,5 | Docker: Force QProcess::SeparateChannels | 16.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
617534,1 | Utils: Fix quoting on Linux | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
617535,1 | QMakeProjectManager: Fix mkspec path for remote devices | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
617536,1 | QtSupport: Only use relative paths for mkspec locally | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
617538,1 | Docker: Force QProcess::SeparateChannels | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
617539,1 | Docker: Improve support for non-standard process channel modes | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
617687,3 | QtSupport: Patch process runner | 16.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |