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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Antonio Rojas (arojas)
Friday, 02 June 2017, 06:05 GMT
Reason for closing:  Upstream
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 05 August 2015, 00:27 GMT
Sounds quite a bit like an upstream thing to be honest. Can you report an upstream bug and post it here?
Comment by Sven-Hendrik Haase (Svenstaro) - Tuesday, 24 November 2015, 07:47 GMT
If you care about making this work by default, please post an upstream bug report and link it here.
Comment by Manuel Schneider (manuelschneid3r) - Wednesday, 25 November 2015, 13:05 GMT
https://bugreports.qt.io/browse/QTCREATORBUG-14897

You may vote for it. My reports seldomly get any attention.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 26 November 2015, 01:19 GMT
If you make a patch for me I will apply it to the package.

Loading...