Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96795 QtLocation maps to Qt 6.2
  3. QTBUG-105829

Make tests and examples warning free

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Not Evaluated
    • None
    • None
    • None
    • Team 1 Foundation_Sprint 44

    Description

      The tests and examples generate a warnings from using deprecated APIs and QML patterns, e.g.
       

      1: QWARN  : declarative_location_core::PlaceSearchSuggestionModel::test_suggestions() qrc:/qt-project.org/imports/QtTest/SignalSpy.qml:229: Error: Invalid write to global property "qtest_count"
      
      /Users/vohi/qt/dev/qtlocation/examples/location/mapviewer/main.cpp:106:39: warning: 'AA_EnableHighDpiScaling' is deprecated: High-DPI scaling is always enabled. This attribute no longer has any effect. [-Wdeprecated-declarations]
          QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
      
      ./qml_location_mapviewer.app/Contents/MacOS/qml_location_mapviewer                                             √ 11:20:26
      qrc:/qt-project.org/imports/QtQuick/Controls/macOS/Button.qml:11: TypeError: Property 'styleFont' of object QQuickRectangle(0x7f8ad2406b10) is not a function
      

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes