Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360373 - net-misc/smb4k-0.10.68 fails to build with qt 4.6
Summary: net-misc/smb4k-0.10.68 fails to build with qt 4.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-03-25 00:09 UTC by Henning Schild
Modified: 2011-03-28 11:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Schild 2011-03-25 00:09:09 UTC
smb4k uses the Qt function setCopyCount of the QPrinter class which seems to be available as from qt 4.7
i did not try to build it with qt 4.7 but according to the qt docs i found online this function is new

see
http://doc.qt.nokia.com/4.7/qprinter.html
http://doc.qt.nokia.com/4.6/qprinter.html

Reproducible: Always

Steps to Reproduce:
1.install =x11-libs/qt-gui-4.6.3-r2
2.try to install net-misc/smb4k-0.10.68

Actual Results:  
smb4k will not compile

Expected Results:  
it should require me to update qt to >= 4.7 (i guess)

compile error (sorry it is german, could not find a quick way to set locale for emerge)

/var/tmp/portage/net-misc/smb4k-0.10.68/work/smb4k-0.10.68/core/smb4kprint_p.cpp: In member function »void Smb4KPrintJob::slotStartPrinting()«:
/var/tmp/portage/net-misc/smb4k-0.10.68/work/smb4k-0.10.68/core/smb4kprint_p.cpp:245: Fehler: »class QPrinter« hat kein Element namens »copyCount«
/var/tmp/portage/net-misc/smb4k-0.10.68/work/smb4k-0.10.68/core/smb4kprint_p.cpp: In member function »void Smb4KPrintDialog::slotUser2Clicked()«:
/var/tmp/portage/net-misc/smb4k-0.10.68/work/smb4k-0.10.68/core/smb4kprint_p.cpp:506: Fehler: »class QPrinter« hat kein Element namens »setCopyCount«
make[2]: *** [core/CMakeFiles/smb4kcore.dir/smb4kprint_p.o] Fehler 1
Comment 1 Henning Schild 2011-03-25 00:12:38 UTC
maybe the printing features could be compiled in depending on a USE-flag
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-28 11:41:21 UTC
Fixed in main tree. Thanks for report.