How to configure qmake project to have a `make install` rule ?
-
Hello, I'm trying to package a Qt Application built with qmake as an Archlinux package. But there is no
install
rule formake
or even some FHS compliant layout. I read this, but lettingmake all
copying binaries somewhere isn't an option. What things need to be written in the .pro file to get ainstall
rule and fhs compliant output like when working with a cmake Qt project?Edit: Should be buildable and installable like this:
qmake make make install
But the install rule does not get generated.
Edit2: Tell more specifically what package format you need.
-
-
Hello, I'm trying to package a Qt Application built with qmake as an Archlinux package. But there is no
install
rule formake
or even some FHS compliant layout. I read this, but lettingmake all
copying binaries somewhere isn't an option. What things need to be written in the .pro file to get ainstall
rule and fhs compliant output like when working with a cmake Qt project?Edit: Should be buildable and installable like this:
qmake make make install
But the install rule does not get generated.
Edit2: Tell more specifically what package format you need.
@bionade24 Hi and welcome to devnet,
If you are on Linux and want to provide an independent package then take a look at the linuxdeployqt project.
-
@bionade24 Hi and welcome to devnet,
If you are on Linux and want to provide an independent package then take a look at the linuxdeployqt project.
-