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

quicknanobrowser source code example not compatible with Qt < 5.13

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.13.2
    • None
    • macOS 10.15.1; Windows 10 (with last updates)
    • All

    Description

      • install via maintenance tool new Qt 5.13 version in addition to already existing 5.12
      • go to examples and try compile quicknanobrowser example

      observed:

      • it start fine under 5.13.2
      • it crash/abort on 5.12.4

      The problem is with initialization; as documentation explain this line of code:

       

      QtWebEngine::initialize(); 
      

      have to be initialized before 'Application' in Qt 5.13.2 but after 'Application' in Qt 5.12.x.

      There are missing some Qt version checks in source code examples.

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            horar Lubomir Carik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes