Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13483

Spectrum demo is not runnable from QtDemo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.2
    • 4.7.0
    • Examples and Demos
    • None
    • All Windows binary packages (mingw, VS2005, VS2008), All Windows versions.
    • 48f18622

      The demos that can be launched from qtdemo.exe have their binary placed in a release subdirectory within the demo, e.g. in the mainwindow demo, the source lives in demos\mainwindow and the binary is demos\mainwindow\release\mainwindow.exe.

      For the spectrum demo, there is no demos\spectrum\release subdirectory (the .exe is in demos\spectrum), so qtdemo fails to launch the demo even though it was built, and displays an error dialog suggesting that the binary wasn't built.

      Moving the spectrum.exe to demos\spectrum\release allows qtdemo to launch it successfully, so the binary simply needs to be put in the right place during the build.

      This problem seems to be due to the .pro file in the demo. Most of the projects under demos\... use a very similar .pro file, while the spectrum.pro is completely different.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            gastockw Gareth Stockwell
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes