Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved Ui differences between qtcreator and qt designer

    Tools
    3
    7
    1182
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • auroraqt
      auroraqt last edited by auroraqt

      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.

      http://imgur.com/mn5LCnH

      How is this possible? Any help is welcome,

      Many thanks in advance

      stackprogramer jsulm 2 Replies Last reply Reply Quote 0
      • stackprogramer
        stackprogramer @auroraqt last edited by stackprogramer

        @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.

        1 Reply Last reply Reply Quote 0
        • auroraqt
          auroraqt last edited by

          @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 1 Reply Last reply Reply Quote 0
          • stackprogramer
            stackprogramer @auroraqt last edited by stackprogramer

            @auroraqt

            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.:)

            jsulm 1 Reply Last reply Reply Quote 0
            • jsulm
              jsulm Lifetime Qt Champion @stackprogramer last edited by

              @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!

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              stackprogramer 1 Reply Last reply Reply Quote 0
              • stackprogramer
                stackprogramer @jsulm last edited by stackprogramer

                @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++.

                1 Reply Last reply Reply Quote 0
                • jsulm
                  jsulm Lifetime Qt Champion @auroraqt last edited by

                  @auroraqt How does the UI look in the designer on Ubuntu?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post