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

qtdeclarative examples don't run from shadow build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0
    • Examples and Demos
    • None
    • Windows Vista 64 bit
      MSVC 2010
    • a0fb0a5dd32b031f89abe603ed07a50c74327e37 (use resource files for examples)

    Description

      1. Build a qtdeclarative example in a shadow build directory.
        I tried qtdeclarative\examples\quick\mousearea and qtdeclarative\examples\quick\animation. Both build fine.
      2. Try to run the result.
        The program will exit right away. Qt Creator will show:
        The program has unexpectedly finished.
        C:\Users\rob\Git\Qt-5.0\qtdeclarative\examples\quick\mousearea-build-Desktop_Qt_5_0_0_beta2_MSVC2010_32bit_SDK-Debug\debug\mousearea.exe exited with code -1
        

        When started from the command line, the example doesn't run either.

      3. Build the same example in source directory.
      4. Try to run the result.
        Now the program runs correctly.

      Examples should always run correctly. No matter if built in source or shadow build directory.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes