[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QPrinter Question
From:       Michael Pyne <pynm0001 () comcast ! net>
Date:       2003-12-01 19:07:08
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 30 November 2003 23:55, Jason Terando wrote:
> Hi All -
>
> Now I'm referencing KPrinter instead of QPrinter in my QT application.
> When I get to linking, I get the following errors, which lead me to
> believe I'm not including some library reference I ought to be.  Within
> KDevelop, in a QT project, what do I need to add, besides #include
> <kprinter.h>, to use kprinter?
>
> Thanks,
> Jason

Try adding -lkdeprint to the linker options.  This allows the compiler to pull 
in the KDE code while creating the executable file.

 - Michael Pyne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/y5FgqjQYp5Omm0oRArPTAKCUMS8bacj5L+/mLw8KdBLK70zwIQCgjwtD
d6sHLmmAS4bVk9tqE9k0zvY=
=w+hv
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic