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

Forum for posting problems using QxOrm library

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

Postby kliput » Mon Jul 15, 2013 3:13 pm

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!
Last edited by kliput on Wed Jul 17, 2013 11:30 am, edited 1 time in total.
kliput
 
Posts: 3
Joined: Mon Jul 15, 2013 2:30 pm
Location: Poland

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

Postby qxorm » Tue Jul 16, 2013 4:31 pm

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)...
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

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

Postby kliput » Tue Jul 16, 2013 8:24 pm

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?
kliput
 
Posts: 3
Joined: Mon Jul 15, 2013 2:30 pm
Location: Poland

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

Postby kliput » Wed Jul 17, 2013 11:29 am

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
kliput
 
Posts: 3
Joined: Mon Jul 15, 2013 2:30 pm
Location: Poland

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

Postby qxorm » Wed Jul 17, 2013 6:38 pm

I added these lines to .pro file and now it works

Great !
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 10 guests

cron