Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Ui differences between qtcreator and qt designer
QtWS25 Last Chance

Ui differences between qtcreator and qt designer

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 3 Posters 1.5k Views
  • 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.
  • auroraqtA Offline
    auroraqtA Offline
    auroraqt
    wrote on last edited by auroraqt
    #1

    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

    stackprogramerS jsulmJ 2 Replies Last reply
    0
    • auroraqtA 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

      stackprogramerS Offline
      stackprogramerS Offline
      stackprogramer
      wrote on last edited by stackprogramer
      #2

      @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
      0
      • auroraqtA Offline
        auroraqtA Offline
        auroraqt
        wrote on last edited by
        #3

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

        stackprogramerS 1 Reply Last reply
        0
        • auroraqtA auroraqt

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

          stackprogramerS Offline
          stackprogramerS Offline
          stackprogramer
          wrote on last edited by stackprogramer
          #4

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

          jsulmJ 1 Reply Last reply
          0
          • stackprogramerS 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.:)

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @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

            stackprogramerS 1 Reply Last reply
            0
            • jsulmJ jsulm

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

              stackprogramerS Offline
              stackprogramerS Offline
              stackprogramer
              wrote on last edited by stackprogramer
              #6

              @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
              0
              • auroraqtA 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

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

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

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved