[Qt-interest] Detecting GUI when compiling
Alex Strickland
sscc at mweb.co.za
Fri Aug 19 06:15:35 CEST 2011
On 2011/08/19 05:54 AM, Alex Strickland wrote:
> To put it another way, from my Creator generated test app, when I try
> and compile code under test:
>
> c:\users\alex\qt\sav-v\eblog.h:9: error: C1083: Cannot open include
> file: 'QMainWindow': No such file or directory
>
> This makes sense (although I don't know how it is done), and now I wish
> to code so that my logging utility can be used in a test exe or the
> final GUI exe.
Looks like QT_GUI_LIB will do it.
--
Alex
More information about the Qt-interest-old
mailing list