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

Assistant crashing in release mode when built with VS2012

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.5
    • Tools: Assistant
    • None
    • Windows 7, Visual Studio 2012 w/ Update 2

    Description

      I just noticed that if I compile Qt with Visual Studio 2012 Update 2, Qt Assistant crashes on startup.

      Interestingly, the debug version does not.

      To compile:
      1. Open VS2012 x86 Native Tools Command Prompt.
      2. configure -prefix "C:\Qt\4.8.5" -debug-and-release -opensource -fast -plugin-sql-sqlite -nomake examples -nomake demos -platform win32-msvc2012
      3. qmake -tp vc -r

      qmake generates a VS solution, which I then launched in Visual Studio. There were build errors with duplicate resource which were resolved by excluding some projects from others. Eventually both debug and release version built, but the release version of Assistant failed to launch.

      This seems to be related to the loading of the qsqlite driver. If I move away the sqlite driver, it launches and throws an exception that it can't load the qhc file because no driver was found to load.

      Attachments

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

        Activity

          People

            heimrich Karsten Heimrich
            vayer Vivek Ayer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes