Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Application not displaying correctly on Windows 7

Application not displaying correctly on Windows 7

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 5 Posters 3.9k Views 2 Watching
  • 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.
  • Dan3460D Offline
    Dan3460D Offline
    Dan3460
    wrote on last edited by
    #1

    I'm beta testing an application which runs with no problems on Windows 10. Yesterday i deployed it to a windows 7 machine and some of the fields on one form did not showed up. In another form the text edit field and the drop down buttons were flatten, the with of them was ok, and it will show the menu on on the drop down button. The other odd thing was that a calculation field. did not work.
    I tried to change the resolution on the windows 7 machine, but did not change a thing.
    Is anyone experienced problems with other versions of windows?

    Venkatesh VV jsulmJ 2 Replies Last reply
    0
    • K Offline
      K Offline
      Kaluss
      wrote on last edited by
      #2

      Did you follow exactly those rules?
      http://doc.qt.io/qt-5/windows-deployment.html

      1 Reply Last reply
      0
      • Dan3460D Dan3460

        I'm beta testing an application which runs with no problems on Windows 10. Yesterday i deployed it to a windows 7 machine and some of the fields on one form did not showed up. In another form the text edit field and the drop down buttons were flatten, the with of them was ok, and it will show the menu on on the drop down button. The other odd thing was that a calculation field. did not work.
        I tried to change the resolution on the windows 7 machine, but did not change a thing.
        Is anyone experienced problems with other versions of windows?

        Venkatesh VV Offline
        Venkatesh VV Offline
        Venkatesh V
        wrote on last edited by
        #3

        @Dan3460
        Hi,

        I think there may be a problem with your system screen resolution. can you check resolution of both the systems.

        1 Reply Last reply
        2
        • Dan3460D Offline
          Dan3460D Offline
          Dan3460
          wrote on last edited by
          #4

          @Kaluss, yes the application works fine in several computers running Windows 10. I did not see, on that document, any comment about older operating systems. If is something there could you pointed out for me?

          @Venkatesh-V, the windows 7 was running at 1600x900, the same as the other 2 windows 10 machines. On the windows 7 i played with 1024x768 abd 800x600, but the application showed the same behavior

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Dan3460 said in Application not displaying correctly on Windows 7:

            some of the fields on one form did not showed up

            Hmm .that is truly odd.

            I would try make default gui app and add some edits to the mainwin
            and run on test pc. If something wrong with Qt, they should also do odd stuff.
            This way we rule out its anything in the real apps code that does it.

            Similar issues i have seen came from invalid font / and or gfx driver issue.

            1 Reply Last reply
            3
            • Dan3460D Dan3460

              I'm beta testing an application which runs with no problems on Windows 10. Yesterday i deployed it to a windows 7 machine and some of the fields on one form did not showed up. In another form the text edit field and the drop down buttons were flatten, the with of them was ok, and it will show the menu on on the drop down button. The other odd thing was that a calculation field. did not work.
              I tried to change the resolution on the windows 7 machine, but did not change a thing.
              Is anyone experienced problems with other versions of windows?

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

              @Dan3460 Do you use layouts?

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

              1 Reply Last reply
              0
              • Dan3460D Offline
                Dan3460D Offline
                Dan3460
                wrote on last edited by
                #7

                @mrjj I tried the application on a couple of other computers and run fine, one running windows 8 other don't remember but it was not windows 7.
                @jsulm Sorry don't understand what you mean with layouts, i'm using tableview and tablewidget on a dialog.

                mrjjM jsulmJ 2 Replies Last reply
                0
                • Dan3460D Dan3460

                  @mrjj I tried the application on a couple of other computers and run fine, one running windows 8 other don't remember but it was not windows 7.
                  @jsulm Sorry don't understand what you mean with layouts, i'm using tableview and tablewidget on a dialog.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Dan3460
                  Hi
                  It is impossible to guess at without code or pictures.

                  You should try with small test app to be sure its reproducible.

                  What Qt version are we talking about ?

                  It dont sound like you used layout so it can scale to different resolutions.

                  But it also sounds like buttons are drawn invisible but are still clickable ?

                  So there are enough room for the whole window?

                  1 Reply Last reply
                  2
                  • Dan3460D Dan3460

                    @mrjj I tried the application on a couple of other computers and run fine, one running windows 8 other don't remember but it was not windows 7.
                    @jsulm Sorry don't understand what you mean with layouts, i'm using tableview and tablewidget on a dialog.

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

                    @Dan3460 http://doc.qt.io/qt-5.9/layout.html

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

                    1 Reply Last reply
                    2
                    • Dan3460D Offline
                      Dan3460D Offline
                      Dan3460
                      wrote on last edited by
                      #10

                      @jsulm sorry now i understand. I used QCreator to make the different screens. My guess is that qcreator uses layouts when you group buttons and other elements.
                      @mrjj I'm running QCreator 4.3.1 and QT 5.9.1. Don't know if make sense to post the code, is probably 4000 lines.
                      I will make a small application to test, but so far this only happens on the only computer that is running W7, is probably time for him to upgrade anyway.
                      To really make good tests i would need to downgrade one of my machines to W7, if people here think that this is important i would do that.
                      I thought that this may have been something common.

                      jsulmJ 1 Reply Last reply
                      0
                      • Dan3460D Dan3460

                        @jsulm sorry now i understand. I used QCreator to make the different screens. My guess is that qcreator uses layouts when you group buttons and other elements.
                        @mrjj I'm running QCreator 4.3.1 and QT 5.9.1. Don't know if make sense to post the code, is probably 4000 lines.
                        I will make a small application to test, but so far this only happens on the only computer that is running W7, is probably time for him to upgrade anyway.
                        To really make good tests i would need to downgrade one of my machines to W7, if people here think that this is important i would do that.
                        I thought that this may have been something common.

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

                        @Dan3460 What do you mean by "group buttons and other elements"? You need to tell QtCreator to use layouts for your UI elements.

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

                        1 Reply Last reply
                        0
                        • mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          Hi
                          its a bit unclear if u actually designed the app for different resolutions.
                          Does it do like this ?
                          alt text

                          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