Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-1135

Running an application built using an imported cmakelists.txt hangs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • 3.0.1
    • Debug/test integration
    • None
    • ca1410fd4 (dev)

      Steps to reproduce:

      1. Have a default Qt installation registered inside Qt VS Tools
      2. Open an existing CMakeLists.txt (for example <Qt install>/Examples/<version>/quick/animation/CMakeLists.txt) in Visual Studio
      3. Build the project
      4. Run (not debug) the project

      Expected result:

      • Application starts

      Actual result:

      • No application shown
      • Nothing is shown in Visual Studio's output pane
      • Application executable shows up in task manager
      • dbgview shows "[20228] QML Debugger: Connecting to socket {f79e5e61-1e5b-4c5a-bfd6-2066f2c05fd9}..."

      Workaround: The issue seems to be that "QML Application" is selected in the "Select startup item" combobox at the top of Visual Studio. Changing that to "animationexample.exe" fixes the issue.

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

            mecfc Miguel Costa
            owolff Oliver Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes