FS#44764 - [qtcreator] application/vnd.nokia.qt.qmakeprofile is not known to the system
Attached to Project:
Arch Linux
Opened by Manuel Schneider (manuelschneid3r) - Tuesday, 28 April 2015, 14:27 GMT
Last edited by Antonio Rojas (arojas) - Friday, 02 June 2017, 06:05 GMT
Opened by Manuel Schneider (manuelschneid3r) - Tuesday, 28 April 2015, 14:27 GMT
Last edited by Antonio Rojas (arojas) - Friday, 02 June 2017, 06:05 GMT
|
Details
Description:
Qt Creator project files have no mimetype. xdg-mime query filetype and file --mimetype report text/plain. Mimetype should be application/vnd.nokia.qt.qmakeprofile. Following issue is that projects are not opened by qtcreator but a text editor e.g. gedit. Correct file-app associations were set in 3.4.0-2 One solution would be that the package ships a shared-mime-info package like e.g. cmake does. I dont know if it is correct but I found an example here: http://doc.qt.digia.com/qt-5.2/qmimedatabase.html#details <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/vnd.nokia.qt.qmakeprofile"> <comment xml:lang="en">Qt qmake Profile</comment> <icon name="qtcreator"/> <glob pattern="*.pro" weight="50"/> </mime-type> </mime-info> I added the <icon> and after an: update-desktop-database /usr/share/applications/ update-mime-database /usr/share/mime/ Everything worked fine. Maybe this is not our task but I think the correct solution would be to put the mimetype into the freedesktop.org.xml. Additional info: * package is up to date Steps to reproduce: Try to open a qt creator project from the filemanager. |
This task depends upon
You may vote for it. My reports seldomly get any attention.