[Qt-interest] QPrintPreviewDialog question
Steven Doerfler
sgd-qt at lugaru.com
Wed Mar 10 19:05:26 CET 2010
On 3/10/2010 11:23 AM, Robert Wood wrote:
> Ii'll see if I can work out what would stop connect returning true.
Connect() should print a message when it fails. That'll tell you
whether the problem is with the sender or the receiver.
Make sure your printPreview function is declared in a .h file (not just
in a class in a .cpp file), that the .h file has Q_OBJECT (or similar)
and "public slots:", and that moc is reading your .h file.
> ‘ToolButtonFollowStyle’ is not a member of ‘Qt’
>
http://labs.trolltech.com/blogs/2009/07/17/a-few-qtoolbar-improvements/
suggests that this setting was new in Qt 4.6. I guess you're using an
old Qt version.
Steven
More information about the Qt-interest-old
mailing list