[odb-users] [Fwd: Compile libodb-qt], Correction. Found the problem.

harriev9 harriev9 at gmail.com
Sun Feb 26 11:52:14 EST 2017


Hi,

I had a problem, the compiler complained QtCore/QString not found.

I found, after a long search, that the odb compiler needs the include
directories passed too.

I use cmake. So i added:

 INCLUDE ${Qt5Core_INCLUDE_DIRS} 

to:

odb_compile(...)

I also had to add 
  STANDARD c++11

since qt5 requires this.

Cheers,

Harrie

-------------- next part --------------
An embedded message was scrubbed...
From: harriev9 <harriev9 at gmail.com>
Subject: Compile libodb-qt
Date: Sun, 19 Feb 2017 13:06:45 +0100
Size: 901
Url: http://codesynthesis.com/pipermail/odb-users/attachments/20170226/d2e41eb8/attachment.mht


More information about the odb-users mailing list