FS#52186 - [qtcreator] Install qmake mime types
Attached to Project:
Arch Linux
Opened by Phil Schaf (flying-sheep) - Saturday, 17 December 2016, 09:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 30 March 2017, 00:52 GMT
Opened by Phil Schaf (flying-sheep) - Saturday, 17 December 2016, 09:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 30 March 2017, 00:52 GMT
|
Details
Associating .pro files with Qt Creator is currently
impossible because the following file isn’t installed.
src/plugins/qmakeprojectmanager/QmakeProjectManager.mimetypes.xml Please install it. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 30 March 2017, 00:52 GMT
Reason for closing: Won't fix
Thursday, 30 March 2017, 00:52 GMT
Reason for closing: Won't fix
Those files are for internal use and are written for the internal MIME database. I am not sure this is 100% compatible with real MIME databases, so I am very reluctant to expose these files.
However, why wouldn't they compatible with the xdg mime database. Granted, I didn't run them through a validator, but they work just fine after being installed systemwide.
*.pro/*.pri files (qmake projects), CMakeLists.txt (cmake), Makefile.am (autotools), *.qbs (qbs), *.qtcreator (Generic projects), and *.qmlproject (QML projects).
There are lots more mime types that Creator can handle (check Tools>Options>Environment>MIME Types for a full list).
I have no idea how to get that data there though (actually I am not even sure how to check what is in the database!). If somebody tells me, then I can try to ask whoever is managing that.
https://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&product=shared-mime-info