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

Spectrum demo is not runnable from QtDemo

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes