Answer the question
In order to leave comments, you need to log in
How to get path to Linux desktop (ubuntu) or how to install app.desktop to qt desktop (qmake)?
Hello.
Help me figure out how to get the path to the desktop for desktop.path in the app.pro file .
As a result, when installing the compiled deb package, the app.desktop file was installed on the desktop. Now it looks like this:
desktop.target = desktop
desktop.path = "/home/igor/Рабочий\ стол/"
desktop.file += passwer.desktop
Answer the question
In order to leave comments, you need to log in
Well, Qt and qmake have nothing to do with it at all. You need to do this in the deb package build system. I would tell you how to do it in rpm, but I didn't deal with deb at all. But, almost 100% there is some standard environment variable or function.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question