Page 1 of 1

[Solved] Can't build application with QxOrm 1.2.5/1.2.6b3

PostPosted: Mon Jul 15, 2013 3:13 pm
by kliput
Hello!

I'm trying to compile my application on Kubuntu GNU/Linux 12.04 with:
- QxOrm 1.2.5 (also tried 1.2.6 beta 3) - both compiled with GCC 4.8
- GCC 4.8 (also tried GCC 4.6)
- Qt 4.8.2
- Boost 1.48 (also tried 1.54)

But it ends with many compilation errors (over 880 lines!), which I paste here: http://pastebin.com/Eg40j31v

Compilation with QxOrm 1.2.4 works fine. I need to use 1.2.6 beta 3 version because of bug with multiple relations (http://www.qxorm.com/forum/phpbb/viewto ... 46e9e4ce0f).

Thanks in advance for help!

Re: Can't build application with QxOrm 1.2.5/1.2.6b3

PostPosted: Tue Jul 16, 2013 4:31 pm
by qxorm
Hi,

Compilation with QxOrm 1.2.4 works fine

QxOrm 1.2.5 and 1.2.6b3 should work too, this is not a problem with the source code of the library.
Have you tried to clean correctly your projet and check all your path : I think you have some things related to old version of QxOrm library (1.2.4)...

Re: Can't build application with QxOrm 1.2.5/1.2.6b3

PostPosted: Tue Jul 16, 2013 8:24 pm
by kliput
Thank you for reply,
Have you tried to clean correctly your projet and check all your path

Yes, I did, but unfortunately nothing changes.

I didn't think about it earlier, but now I noticed that qxBlog test compiles without errors, so I will try to compare my project with it. Are there any important API changes between 1.2.4 and 1.2.5 that can cause incompatibility?

Re: Can't build application with QxOrm 1.2.5/1.2.6b3

PostPosted: Wed Jul 17, 2013 11:29 am
by kliput
Alright - I added these lines to .pro file and now it works:
Code: Select all
DEFINES += _QX_SERIALIZE_BINARY_ENABLED
DEFINES += _QX_SERIALIZE_XML_ENABLED

Re: [Solved] Can't build application with QxOrm 1.2.5/1.2.6b

PostPosted: Wed Jul 17, 2013 6:38 pm
by qxorm
I added these lines to .pro file and now it works

Great !