Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt installation Ubuntu 12.04 problems with qcups (?)
Forum Updated to NodeBB v4.3 + New Features

Qt installation Ubuntu 12.04 problems with qcups (?)

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 2.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    herbert3491
    wrote on last edited by
    #1

    Hi,

    when trying to install Qt 4.6.2 I seem to run in a problem with qcups (error messages at the end).

    OS Ubuntu 12.04 (rather Linux Mint Maya) 64 bit
    according to the synaptic package manager anything it list when entering cups is up to date

    Out of a few messages in the internet which seem related I could not really make a sense.

    So, the errors are these:

    In file included from ../../include/QtGui/private/qcups_p.h:1:0,
    from painting/qpdf.cpp:47:
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:78:11: error: ‘ppd_file_t’ does not name a type
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:80:11: error: ‘ppd_file_t’ does not name a type
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:81:11: error: ‘ppd_option_t’ does not name a type
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:84:11: error: ‘ppd_option_t’ does not name a type
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:34: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:47: error: template argument 1 is invalid
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:56: error: ‘ppd_group_t’ does not name a type
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:77: error: ISO C++ forbids declaration of ‘group’ with no type [-fpermissive]
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:62: error: ‘ppd_group_t’ does not name a type
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:75: error: ISO C++ forbids declaration of ‘group’ with no type [-fpermissive]
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:108:11: error: ‘ppd_option_t’ does not name a type
    ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:110:5: error: ‘ppd_file_t’ does not name a type
    painting/qpdf.cpp: In member function ‘virtual void QPdfBaseEngine::setProperty(QPrintEngine::PrintEnginePropertyKey, const QVariant&)’:
    painting/qpdf.cpp:1460:5: warning: case value ‘65024’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    painting/qpdf.cpp:1454:5: warning: case value ‘65025’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    painting/qpdf.cpp:1457:5: warning: case value ‘65026’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    painting/qpdf.cpp:1463:5: warning: case value ‘65027’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    painting/qpdf.cpp: In member function ‘virtual QVariant QPdfBaseEngine::property(QPrintEngine::PrintEnginePropertyKey) const’:
    painting/qpdf.cpp:1563:5: warning: case value ‘65024’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    painting/qpdf.cpp:1557:5: warning: case value ‘65025’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    painting/qpdf.cpp:1560:5: warning: case value ‘65026’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    painting/qpdf.cpp:1566:5: warning: case value ‘65027’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
    make[1]: *** [.obj/release-shared/qpdf.o] Error 1
    make[1]: Leaving directory `/media/truecrypt1/aaa_AKTUELL/ParaViewQt/qt-everywhere-opensource-src-4.6.2/src/gui'
    make: *** [sub-gui-make_default-ordered] Error 2

    Thanks for help,

    Herbert

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RAMA KRISHNA
      wrote on last edited by
      #2

      Hi,

      when trying to install Qt 4.3.5 on UBUNTU 12.04 I seem to run in a problem with qcups (error messages at the end).

      OS Ubuntu 12.04
      according to the synaptic package manager anything it list when entering cups is up to date

      Out of a few messages in the internet which seem related I could not really make a sense.

      So, the errors are these:

      In file included from ../../include/QtGui/private/qcups_p.h:1:0,
      from painting/qpdf.cpp:47:
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:78:11: error: ‘ppd_file_t’ does not name a type
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:80:11: error: ‘ppd_file_t’ does not name a type
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:81:11: error: ‘ppd_option_t’ does not name a type
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:84:11: error: ‘ppd_option_t’ does not name a type
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:34: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:47: error: template argument 1 is invalid
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:56: error: ‘ppd_group_t’ does not name a type
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:77: error: ISO C++ forbids declaration of ‘group’ with no type [-fpermissive]
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:62: error: ‘ppd_group_t’ does not name a type
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:75: error: ISO C++ forbids declaration of ‘group’ with no type [-fpermissive]
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:108:11: error: ‘ppd_option_t’ does not name a type
      ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:110:5: error: ‘ppd_file_t’ does not name a type
      painting/qpdf.cpp: In member function ‘virtual void QPdfBaseEngine::setProperty(QPrintEngine::PrintEnginePropertyKey, const QVariant&)’:
      painting/qpdf.cpp:1460:5: warning: case value ‘65024’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      painting/qpdf.cpp:1454:5: warning: case value ‘65025’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      painting/qpdf.cpp:1457:5: warning: case value ‘65026’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      painting/qpdf.cpp:1463:5: warning: case value ‘65027’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      painting/qpdf.cpp: In member function ‘virtual QVariant QPdfBaseEngine::property(QPrintEngine::PrintEnginePropertyKey) const’:
      painting/qpdf.cpp:1563:5: warning: case value ‘65024’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      painting/qpdf.cpp:1557:5: warning: case value ‘65025’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      painting/qpdf.cpp:1560:5: warning: case value ‘65026’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      painting/qpdf.cpp:1566:5: warning: case value ‘65027’ not in enumerated type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
      make[1]: *** [.obj/release-shared/qpdf.o] Error 1
      make[1]: Leaving directory `/media/truecrypt1/aaa_AKTUELL/ParaViewQt/qt-everywhere-opensource-src-4.6.2/src/gui'
      make: *** [sub-gui-make_default-ordered] Error 2

      Can any one please get out of me from this ?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        Do you have cups installed ?

        On a side note, are you locked to Qt 4.6 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved