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
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
|
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
Tuesday, 24 April 2018, 07:17 GMT
Reason for closing: Deferred
Additional comments about closing: qtcreator needs a rebuild with Qt 5.11
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.