Ui differences between qtcreator and qt designer
-
Hi,
I'm developing an application in both Windows and Linux.
- Windows 7 - 64 bits - Visual Studio 2013 + Qt designer (5.3.1)
- Ubuntu GNU/Linux - 64 bits - qtcreator (3.5.1 and 3.6.0).
I've created some .ui files and executed them Windows 7 and all is fine. But the thing is that when I compile (same compiler, Intel Compiler and same Qt version) and run the same .ui in Ubuntu, things are not behaving equal. In concrete, separators are not working well in Linux.
In this screenshots there are the result of showing the .ui in the qtcreator, and the result of executing in runtime on Windows (well formed) and Linux.
How is this possible? Any help is welcome,
Many thanks in advance
-
Hi,
I'm developing an application in both Windows and Linux.
- Windows 7 - 64 bits - Visual Studio 2013 + Qt designer (5.3.1)
- Ubuntu GNU/Linux - 64 bits - qtcreator (3.5.1 and 3.6.0).
I've created some .ui files and executed them Windows 7 and all is fine. But the thing is that when I compile (same compiler, Intel Compiler and same Qt version) and run the same .ui in Ubuntu, things are not behaving equal. In concrete, separators are not working well in Linux.
In this screenshots there are the result of showing the .ui in the qtcreator, and the result of executing in runtime on Windows (well formed) and Linux.
How is this possible? Any help is welcome,
Many thanks in advance
@auroraqt welcome to devnet Qt:)
ome app when is developed are dependency in a platform. so for creating your app for new platform you should override dependency or delete these dependency and replaced new methods that are acceptable for other platform.
please find these dependencies. -
@stackprogramer: I think you didn't understand the issue. I develop a "desktop application" not an Android app. This (seems to be) a problem related with spacers that are rendered differently in windows or linux...
Take a look to the image to see it: http://imgur.com/mn5LCnH
Any spotlight on this think is welcome,
Many thanks in advance.
-
@stackprogramer: I think you didn't understand the issue. I develop a "desktop application" not an Android app. This (seems to be) a problem related with spacers that are rendered differently in windows or linux...
Take a look to the image to see it: http://imgur.com/mn5LCnH
Any spotlight on this think is welcome,
Many thanks in advance.
sorry for wrong.i saw your image ,if i was you,i would read and edit source ui for linux .because Qt widget c++ usually use native scene on any platform. so is different in win and linux . this is my opinion.:)
-
sorry for wrong.i saw your image ,if i was you,i would read and edit source ui for linux .because Qt widget c++ usually use native scene on any platform. so is different in win and linux . this is my opinion.:)
@stackprogramer Please do not suggest to edit ui files by hand! Changes done manually will be lost next time the ui file is edited in designer!
-
@stackprogramer Please do not suggest to edit ui files by hand! Changes done manually will be lost next time the ui file is edited in designer!
@jsulm
it is only a offer,if you have better way please share it:)
my opinion for developing app is better" you should not use QtDesigner."
developing from pure source is best .most example Qt uses only source c++. -
Hi,
I'm developing an application in both Windows and Linux.
- Windows 7 - 64 bits - Visual Studio 2013 + Qt designer (5.3.1)
- Ubuntu GNU/Linux - 64 bits - qtcreator (3.5.1 and 3.6.0).
I've created some .ui files and executed them Windows 7 and all is fine. But the thing is that when I compile (same compiler, Intel Compiler and same Qt version) and run the same .ui in Ubuntu, things are not behaving equal. In concrete, separators are not working well in Linux.
In this screenshots there are the result of showing the .ui in the qtcreator, and the result of executing in runtime on Windows (well formed) and Linux.
How is this possible? Any help is welcome,
Many thanks in advance