Qt Creator Form View problem
-
Using Qt Creator 4.6.2 on Linux, Qt version is 5.11.1
Problem is that for some reason when I try to edit form all I see is a grid instead of a form.
Used to work fine, I don't know if it's some setting, maybe I pressed something wrong, I'm not sure what happened.
Any help appreciated. -
@jsulm It's enabled.
I deleted QtProject folder in .config directory and tried with new config to see what will happen, and now when I double click on .ui file I get "Image format not supported", it doesn't even display grid, it goes back to .cpp editor.
That made me think that maybe some USE flag isn't enabled, I'm using Gentoo linux, so each package is compiled from source, maybe some feature wasn't compiled, I'm providing screenshot of enabled features (they are in red color) , maybe the problem is there ?
Again, it used to work fine for a long time, it started to behave like this maybe two months ago, didn't change any of options or something like that. -
@jsulm It opens with a grid.
However, I've tried to open it via terminal and now I see error messages when I try to open .ui filestatic Core::EditorManager::EditorFactoryList Core::Internal::EditorManagerPrivate::findFactories(Core::Id, const QString&) unable to determine mime type of /home/kajzer/QT Creator Projects/Testing2/mainwindow.ui/. Falling back to text/plain qt.svg: Cannot read file '/home/kajzer/QT Creator Projects/Testing2/mainwindow.ui', because: (line 2)
Don't know why it sees .ui files as svg, maybe that's normal and how this works, I'll try to investigate more.
-
Found the exact problem reported here :
https://bugs.archlinux.org/task/58312If I understand the solution correctly I need to rebuild QtCreator with Qt 5.11
Which I'm going to do and mark this as solved if that's the case.