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. Text not displaying on windows xp, QT 5.6.1

Text not displaying on windows xp, QT 5.6.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
5.6.1windows xp
14 Posts 4 Posters 5.6k 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.
  • M Offline
    M Offline
    Michael Muxi
    wrote on 18 Aug 2016, 09:17 last edited by
    #3

    That sounds very promising, I'll give it a try tomorrow morning. Thank you very much :)

    1 Reply Last reply
    1
    • M Offline
      M Offline
      Michael Muxi
      wrote on 19 Aug 2016, 01:47 last edited by
      #4

      OK I rebuilt with -no-directwrite, rebuilt my app, and unfortunately I still cannot see any text.

      Looks like I may need to use crufty old MFC for this project.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rondog
        wrote on 19 Aug 2016, 02:27 last edited by
        #5

        I don't know what was changed between 5.6.0 and 5.6.1 but I suspect it was only minor changes (it should be only minor changes). I have not had this issue with 5.6.0 on WinXP.

        In my case I built my version of Qt from the source and did this on WinXP. This could be the difference I suppose. The options -target xp and -no-directwrite are important if you plan to run on XP.

        I did have to change the configure executable so it would run on XP but otherwise I had no issues compiling and running on this OS.

        1 Reply Last reply
        2
        • M Offline
          M Offline
          Michael Muxi
          wrote on 19 Aug 2016, 02:30 last edited by
          #6

          You know, I didn't even consider trying 5.6.0. I'll give it a shot. Thanks!

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Michael Muxi
            wrote on 19 Aug 2016, 02:32 last edited by
            #7

            @Rondog, did you include angle and icu in your compile? I haven't figured that part out yet, and I"m not sure if they are essential for xp support.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Michael Muxi
              wrote on 19 Aug 2016, 04:44 last edited by
              #8

              Unfortunately compiling 5.6.0 with the -no-directwrite flag still isn't displaying any text.

              1 Reply Last reply
              1
              • H Online
                H Online
                hskoglund
                wrote on 19 Aug 2016, 07:10 last edited by
                #9

                Hi, perhaps there's some problem with your OpenGL/video driver.
                You can check (If you have Qt installed on your WIndows XP) start Qt Creator go to the Welcome page, can you see the examples pictures?

                1 Reply Last reply
                1
                • R Offline
                  R Offline
                  Rondog
                  wrote on 20 Aug 2016, 01:27 last edited by
                  #10

                  @Michael-Muxi I did not include angle or ICU.

                  I don't have any problems with 5.6.0 on WinXP. Everything I write I test on WinXP and I definatly would notice if text was missing. So what is the difference?

                  In my case I compile on WinXP (with the options -target xp and -no-directwrite). I am using MinGW. I don't really do anything out of the ordinary as far as I know. What is your setup?

                  M 1 Reply Last reply 20 Aug 2016, 07:23
                  0
                  • R Rondog
                    20 Aug 2016, 01:27

                    @Michael-Muxi I did not include angle or ICU.

                    I don't have any problems with 5.6.0 on WinXP. Everything I write I test on WinXP and I definatly would notice if text was missing. So what is the difference?

                    In my case I compile on WinXP (with the options -target xp and -no-directwrite). I am using MinGW. I don't really do anything out of the ordinary as far as I know. What is your setup?

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 20 Aug 2016, 07:23 last edited by
                    #11

                    @Rondog

                    Hi
                    If possible and you have the time, it could be really interesting
                    with a sample test app + the dlls from your setup.

                    To see if that runs on same pc where text is missing.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Rondog
                      wrote on 20 Aug 2016, 13:18 last edited by Rondog
                      #12

                      This is a link to something with Qt 5.6.0: http://selectcalibration.ca/downloads/errorsimulator-1.1.x86.zip

                      My setup is:
                      WinXP SP2
                      MinGW 482
                      Qt 5.6.0
                      Compile options: -no-icu -nomake examples -nomake tests -opengl desktop -plugin-sql-mysql -target xp -no-directwrite
                      Compile notes: I had removed a number of folders from the Qt sources before installing (like webkit and a number of other un-needed items). You could use '-skip xxx' instead of removing the folders.

                      In order for me to run the executable 'qtbase/configure.exe' on WinXP I had to edit this file to change the version as it was built targeting a newer OS. A good explanation of how to do this is here: http://www.tripleboot.org/?p=423 In my case I changed the values at offsets 0x148, 0x149, and 0x14a to be 05, 00, 01

                      I need the software to be able to run on WinXP so I built it on this OS. If there was a problem it should have appeared when compiling Qt. There are too many directives that can change what is used when compiling when moving between different OS's which is why I wanted to compile using XP. Moving forward is usually not an issue (WinXP -> Win10) but going the other way is often problematic.

                      I am hoping XP will disappear one day soon.

                      M 1 Reply Last reply 20 Aug 2016, 18:01
                      2
                      • R Rondog
                        20 Aug 2016, 13:18

                        This is a link to something with Qt 5.6.0: http://selectcalibration.ca/downloads/errorsimulator-1.1.x86.zip

                        My setup is:
                        WinXP SP2
                        MinGW 482
                        Qt 5.6.0
                        Compile options: -no-icu -nomake examples -nomake tests -opengl desktop -plugin-sql-mysql -target xp -no-directwrite
                        Compile notes: I had removed a number of folders from the Qt sources before installing (like webkit and a number of other un-needed items). You could use '-skip xxx' instead of removing the folders.

                        In order for me to run the executable 'qtbase/configure.exe' on WinXP I had to edit this file to change the version as it was built targeting a newer OS. A good explanation of how to do this is here: http://www.tripleboot.org/?p=423 In my case I changed the values at offsets 0x148, 0x149, and 0x14a to be 05, 00, 01

                        I need the software to be able to run on WinXP so I built it on this OS. If there was a problem it should have appeared when compiling Qt. There are too many directives that can change what is used when compiling when moving between different OS's which is why I wanted to compile using XP. Moving forward is usually not an issue (WinXP -> Win10) but going the other way is often problematic.

                        I am hoping XP will disappear one day soon.

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 20 Aug 2016, 18:01 last edited by mrjj
                        #13

                        @Rondog
                        thank you.
                        I can confirm it runs on plain xp and seems to pretty happy - text wise.

                        • I am hoping XP will disappear one day soon.

                        Only when all the pcs dies or we simply stop supporting it.
                        The vendor already has. We could too. if we dared.

                        1 Reply Last reply
                        2
                        • M Offline
                          M Offline
                          Michael Muxi
                          wrote on 22 Aug 2016, 00:57 last edited by
                          #14

                          Thanks to everyone who has replied to this thread.

                          @Rondog, your application is working perfectly on my test machine, all text is displaying as normal.

                          I have been compiling on a windows 10 machine with the vs2015 compiler, not on xp. I'll try replicating your build there, and if that fails I'll try on an xp machine.

                          Thanks again!

                          1 Reply Last reply
                          1

                          12/14

                          20 Aug 2016, 13:18

                          • Login

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