Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58312 - Cannot open designer files in Qtcreator

Attached to Project: Arch Linux
Opened by Jan Dolstra (johannis259) - Monday, 23 April 2018, 07:53 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 24 April 2018, 07:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Qtcreator doesn't recognise *.ui files. Trying to open a ui file in qtcreator gives the following error:
"Failed to read image". Opening the files directly in designer works without a problem.

Starting qtcreator from the command line shows the following messages:
MimeDatabase: Error loading :/qt-project.org/qmime/freedesktop.org.xml
Cannot open :/qt-project.org/qmime/freedesktop.org.xml: No such file or directory

Opening a ui file gives the following message:
static Core::EditorManager::EditorFactoryList Core::Internal::EditorManagerPrivate::findFactories(Core::Id, const QString&) unable to determine mime type of /home/...../......./countryrankingwidget.ui/. Falling back to text/plain

Additional info:
extra/qtcreator 4.6.0-1 (and also previous versions).

Steps to reproduce:
Open *.ui file in qtcreator.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 24 April 2018, 07:17 GMT
Reason for closing:  Deferred
Additional comments about closing:  qtcreator needs a rebuild with Qt 5.11
Comment by Antonio Rojas (arojas) - Monday, 23 April 2018, 10:16 GMT
Do you have shared-mime-info installed?
Comment by Jan Dolstra (johannis259) - Monday, 23 April 2018, 15:19 GMT
Yes, extra/shared-mime-info 1.9-1
Comment by Antonio Rojas (arojas) - Monday, 23 April 2018, 15:35 GMT
Which version of Qt?
Comment by Jan Dolstra (johannis259) - Tuesday, 24 April 2018, 07:03 GMT
Sorry, I didn't realise but it is 5.11.0beta4 from kde-unstable. I assume that this is not the place to report bugs with regard to unstable packages
Comment by Antonio Rojas (arojas) - Tuesday, 24 April 2018, 07:16 GMT
It is, kde-unstable is supported, but please always mention it when reporting Qt/KDE related issues to save us debugging time.

Anyway, the internal location of the embedded freedesktop.org.xml changed in 5.11 so qtcreator needs to be rebuilt. We will do so when it reaches stable.

Loading...