Skip to content

Failing to find QMake on Arch while compiling. #2369

Description

@LimeProgramming

While compiling Overte on arch, ran into an issue linuxdeploy-plugin-qt was looking for qmake under /usr/lib but it was installed under /usr/bin. I didn't do anything special to make it install there.

To bypass it for now I added the following system links

sudo mkdir -p /usr/lib/qt/bin
sudo mkdir -p /usr/lib/qt5/bin

sudo ln -s /usr/bin/qmake /usr/lib/qmake
sudo ln -s /usr/bin/qmake /usr/lib/qt/bin/qmake
sudo ln -s /usr/bin/qmake /usr/lib/qt5/bin/qmake

Might only need the qt/bin ones, not sure really but I was getting tired of this and wanted to cover everything.

I changed the cmake command to the following

QMAKE=/usr/bin/qmake cmake -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake --preset conan-default -DOVERTE_RENDERING_BACKEND=Vulkan

But at least for the error with linuxdeploy-plugin-qt changing the cmake command didn't seem to make a different but it might have elsewhere in the chain. I don't know. Only the system links cleared the error with linuxdeploy-plugin-qt.

Good luck @JulianGro

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbuild systemIssues affecting the build process.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions