Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Windows All target hell (qt5.3 C++/QML)
QtWS25 Last Chance

Windows All target hell (qt5.3 C++/QML)

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 3.7k 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.
  • bagumkaB Offline
    bagumkaB Offline
    bagumka
    wrote on last edited by
    #1

    Hi,
    My questions are:
    1)Is there any success stories that C++/QML application is working on any Windows machine (XP/Vista/7/8) or we initially failed choosing Qt5 and QML and we had to choose something else (like C# + WPF or should use Qt 4.8 + Widgets and draw everything on canvas)?
    2) If yes, do you have any tips and tricks that you used making your app to work on WinAll?
    Problem description:
    My team is developing freeware application that should run on any windows platform. We were planning to make nice-looking interface. Unfortunately we chose Qt5.3 (C++/QML QtQuick 2) framework for developing. When all Windows(XP/Vista/7/8) platform testing was started (several hundred installations) we faced real problems that I've never ever had before (20 years of programming experience from assembler to C#).
    Parts of problems with WinXP were solved when we changed MSVS 2012 compiler to MinGW 4.8.2 32bit(we found that it was the only way to overcome getTickCount64 issue on dll for win XP). Parts of problems were solved when copied ALL dlls from qt bin directory, copied all folders from plugins (according to http://qt-project.org/wiki/Deploy_an_Application_on_Windows).
    But about 30% of testers are experiencing problems that they see blank window, when they start a program (a lot of them have Windows XP, some of them Vista), and one of them has Windows 7 Starter (last one has fatal error in ig4icd32.dll). App is normally started by other 70% testers which are using PC, laptops, XP,Vista,7,8, a half of them 32 bit and the other 64 bit.
    I tried to start program by myself on one of WinXP PCs (with blank window) – reinstalled drivers, installed last DirectX 9.0c, but all was useless. Now I understand that there are some problems with OpenGL 2.0(no support or partial support on that hardware). So we are trying to build Qt 5.3 with Angle support using MinGW 4.8.2 32 bit, but unsuccessful for now. There is no such safe toolchain in downloads on qt-project.org, but as I see that is the only option that should be for Qt 5.3 by default. I hope we’ll make it, but I can’t understand what is the right solution.

    Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, about that GetTickCount64() problem in Windows XP, it's not true that the only way to overcome it, is to change from MSVC2012 to MinGW.

      If you've upgraded your MSVC2012 from RTM to Update 4 and still get the GetTickCount64() error, you've run into a "Qt bug":https://bugreports.qt-project.org/browse/QTBUG-39640
      (The zips to be downloaded in the bug report isn't around on my website any more, but the "FrankenQt" solution still works :-)

      Also I've written more about Qt on WinXP "here":http://www.tripleboot.org/?p=423

      1 Reply Last reply
      0
      • bagumkaB Offline
        bagumkaB Offline
        bagumka
        wrote on last edited by
        #3

        hskoglund, thank you for your reply, in that case I'll try to turn back to MSVS+Angle one more time, May be it'll be more productive now.
        But what about success stories? Have you succeeded running Qt 5 QML programs run on any Windows platform on any hardware?

        Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe

        1 Reply Last reply
        0
        • bagumkaB Offline
          bagumkaB Offline
          bagumka
          wrote on last edited by
          #4

          The solution was not found, so we are falling back to qt5.3 + Widgets.
          Unfortunately, QML is only for sandboxes, and is not intended for real all platform projects.

          Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe

          1 Reply Last reply
          0
          • hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #5

            Hi, you mean you've found no solution for the GetTickCount64() problem or no solution for Qt QML for your project?

            1 Reply Last reply
            0
            • bagumkaB Offline
              bagumkaB Offline
              bagumka
              wrote on last edited by
              #6

              Particulary this problem was solved, thank you. We couldn't manage to work Qt 5.3 QML (QtQuick 2.0) on all hardware. But usual Widgets on problem hardware are working fine.

              Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe

              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