Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qmake from cross-compiled qt5 does not work #50731

Open
classabbyamp opened this issue Jun 7, 2024 · 0 comments
Open

qmake from cross-compiled qt5 does not work #50731

classabbyamp opened this issue Jun 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@classabbyamp
Copy link
Member

Is this a new report?

Yes

System Info

Void 6.8.12_2 aarch64 Unknown notuptodate rDDFFFFFF

Package(s) Affected

qt5-5.15.11+20231124_4, qt5-qmake-5.15.11+20231124_4

Does a report exist for this bug with the project's home (upstream) and/or another distro?

no (packaging issue)

Expected behaviour

with natively-built qt5:

$ /usr/lib/qt5/bin/qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr
QT_INSTALL_ARCHDATA:/usr/lib/qt5
QT_INSTALL_DATA:/usr/share/qt5
QT_INSTALL_DOCS:/usr/share/doc/qt5
QT_INSTALL_HEADERS:/usr/include/qt5
QT_INSTALL_LIBS:/usr/lib
QT_INSTALL_LIBEXECS:/usr/lib/qt5/libexec
QT_INSTALL_BINS:/usr/lib/qt5/bin
QT_INSTALL_TESTS:/usr/tests
QT_INSTALL_PLUGINS:/usr/lib/qt5/plugins
QT_INSTALL_IMPORTS:/usr/lib/qt5/imports
QT_INSTALL_QML:/usr/lib/qt5/qml
QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/share/qt5/examples
QT_INSTALL_DEMOS:/usr/share/qt5/examples
QT_HOST_PREFIX:/usr
QT_HOST_DATA:/usr/lib/qt5
QT_HOST_BINS:/usr/lib/qt5/bin
QT_HOST_LIBS:/usr/lib
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.1
QT_VERSION:5.15.11
$ qmake -recursive QGIS.pro
Reading /tmp/build/_core/_core.pro

Actual behaviour

with cross-built qt5:

$ /usr/lib/qt5/bin/qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:
QT_INSTALL_ARCHDATA:
QT_INSTALL_DATA:
QT_INSTALL_DOCS:
QT_INSTALL_HEADERS:
QT_INSTALL_LIBS:
QT_INSTALL_LIBEXECS:
QT_INSTALL_BINS:
QT_INSTALL_TESTS:
QT_INSTALL_PLUGINS:
QT_INSTALL_IMPORTS:
QT_INSTALL_QML:
QT_INSTALL_TRANSLATIONS:
QT_INSTALL_CONFIGURATION:
QT_INSTALL_EXAMPLES:
QT_INSTALL_DEMOS:
QT_HOST_PREFIX:
QT_HOST_DATA:
QT_HOST_BINS:
QT_HOST_LIBS:
QMAKE_SPEC:
QMAKE_XSPEC:
QMAKE_VERSION:3.1
QT_VERSION:5.15.11
$ qmake -recursive QGIS.pro
Could not find qmake spec ''.
Error processing project file: QGIS.pro

Steps to reproduce

  1. use cross-built qt5 to compile a program natively on aarch64 (like qgis)
  2. observe failure when sip-build calls qmake
@classabbyamp classabbyamp added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Jun 7, 2024
@classabbyamp classabbyamp changed the title qmake from cross-compiled qt5 cannot find spec files qmake from cross-compiled qt5 missing all metadata Jun 7, 2024
@classabbyamp classabbyamp changed the title qmake from cross-compiled qt5 missing all metadata qmake from cross-compiled qt5 does not work Jun 7, 2024
@classabbyamp classabbyamp removed the needs-testing Testing a PR or reproducing an issue needed label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant