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

QPrinter not defined anymore on Android (regression from Qt 5.6)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.0 Beta 2
    • 5.8.0
    • QPA
    • None
    • Qt-5.8 on Linux or Windows hosts.
    • Android
    • 65bafcc29d3f41f88f6fe0fd876be4c6ac118cd4

    Description

      I'm having a problem with QPrinter class when building for Linux and Android targets. I've created a new project in QtCreator to avoid issues with my curent project.

      It's a simple project with QT += printsupport and one include:

      #include <QPrinter>

      a single line with declaration:

      QPrinter printer;

      will be enough to see the error.

      When I build for Android and Linux targets I get:
      'QPrinter' was not declared in this scope

      If I choose Windows target (Desktop Qt-5.8.0 MinGW 32 bit) it's ok.

      Attachments

        For Gerrit Dashboard: QTBUG-58376
        # Subject Branch Project Status CR V

        Activity

          People

            andysh Andy Shaw
            greblus Wiktor Grębla
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes