Qt installation Ubuntu 12.04 problems with qcups (?)
-
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 dateOut 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 2Thanks for help,
Herbert
-
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 dateOut 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 2Can any one please get out of me from this ?
-
Hi and welcome to devnet,
Do you have cups installed ?
On a side note, are you locked to Qt 4.6 ?