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

Static linking breakes QPrinter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0
    • 5.0.1
    • Build System, GUI: Printing
    • OS: Linux 3.4.28-2.20-desktop i686
      System: openSUSE 12.2 (i586)
      KDE: 4.8.5 (4.8.5) "release 2"
    • 99eecab83d4a4c79979aa0b1fcf1f58c14dcf526 (dev, 10.2.2014, 5.3)

    Description

      After building Qt 5.0.1 static, QPrinter can not find any printers anymore.

      Qt has been configured using options:

      ./configure -prefix /usr/local/Qt-5.0.1_dynamic -release -opensource -no-xcb -no-eglfs -no-kms -qt-xcb -qt-pcre -no-icu -no-qml-debug -largefile -no-accessibility -no-javascript-jit -qt-zlib -qt-libpng -qt-libjpeg -no-openssl -nomake tools -no-nis -cups -no-dbus -no-openvg -nomake demos -nomake examples -nomake tests

      CUPS is installed, also the development files for CUPS.
      I configured Qt with the option "-cups". The output of ./configure stated that CUPS is enabled.
      Cups management on my pc works. Printing with other applications (Kate, LinbreOffice, Gimp) works fine.

      I reconfigured Qt and build the shared libs. When linked dynamically, the QPrinter works fine and shows the installed printers.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            trino trino
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes