QxOrm and Qt5: QxService works incorrect?

Forum for posting problems using QxOrm library

QxOrm and Qt5: QxService works incorrect?

Postby remico » Tue Jan 22, 2013 10:30 am

Hello.
I tried to build a small client-server app to test QxOrm with Qt 5.0.0 framework.
I used:
- linux mint (64bit)
- gcc 4.6.3
- Qt 5.0.0 64bit (precompiled bin),
- Boost 1.49,
- QxOrm 1.2.4 and QxOrm 1.2.5beta4 (with WIDE_XML enabled).

All the libs are built without any errors. As well as my apps and services.
But when I run client's request in my test app, the client's UI becomes frozen while waiting the reply, and then I have the following error: "[QxOrm] unable to read reply from socket : invalid bytes count available to retrieve transaction header".
In the client-server example of the QxOrm I have the same error. But the qxBlog example is working well.
With Qt 4.8.1 all the examples as well as my own app were working well.

Note, to build QxOrm with Qt 5 I have had to replace all the "toAscii()" and "fromAscii()" methods in the QxOrm sources with "toLatin1()" and "fromLatin1()" respectively. Also I added "QT+=widgets" option at the QxOrm project.

As I understand QxOrm must work with Qt 5 without any additional modifications.
So, could you tell me if you know, what I made wrong?
remico
 
Posts: 13
Joined: Tue Jul 24, 2012 6:30 pm
Location: Ukraine

Re: QxOrm and Qt5: QxService works incorrect?

Postby qxorm » Wed Jan 23, 2013 11:00 am

Hi,

Could you try this BETA version please ?
http://www.qxorm.com/version/QxOrm_1.2.5_BETA_08.zip

With this BETA version, I fixed all build issues using Qt 5.0 release in my dev environment.
And qxClientServer project sample works perfectly.

Please, let me know if it's working fine for you with this BETA version...
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Re: QxOrm and Qt5: QxService works incorrect?

Postby remico » Thu Jan 24, 2013 3:38 pm

Ok, yesterday I tried to use QxOrm 1.2.5 beta8 on my home PC with Linux mint 13 (64-bit).
Moreover I tried to upgrade my boost lib build to ver. 1_52 and my compiler to ver. 4.7.2.
I even tried to disable the WIDE_XML serialization engine and to clean up my dev env, paths and ld.so.conf configs.
But all to no avail.
All the libs and the apps are built normally, but the serialization mechanism is still not working.

Today I installed new Linux mint 14 (32-bit) on my working PC, also I used boost 1.52, QxOrm 1.2.5beta8 and Qt 5.0.0 (32-bit !!!).
And it's worked!

It's strange, imho..
As I mentioned above, in my dev env based on Qt 4.8.1 lib and QxOrm 1.2.4, the app was built and worked excellent.
So when I'll have free time, I'm going to reinstall my 64-bit OS and then I'll try to build the app in clean dev environment
remico
 
Posts: 13
Joined: Tue Jul 24, 2012 6:30 pm
Location: Ukraine

Re: QxOrm and Qt5: QxService works incorrect?

Postby qxorm » Fri Jan 25, 2013 12:41 pm

Today I installed new Linux mint 14 (32-bit) on my working PC, also I used boost 1.52, QxOrm 1.2.5beta8 and Qt 5.0.0 (32-bit !!!).
And it's worked!

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

Re: QxOrm and Qt5: QxService works incorrect?

Postby remico » Mon Jan 28, 2013 8:59 am

I reinstalled my OS (Linux Mint 14 64-bit).
Really the serialization engine of any type doesn't working. The app's UI becomes frozen and then I have an error (as I described above).
But similar build steps for the 32-bit OS let me get a fully working application.
I assume that I can do something wrong, but I don't understand exactly what.
Please, if you have an ability, could you try to build the qxClientServer example in 64-bit Ubuntu or Mint OS and to check that it will be working for you?
remico
 
Posts: 13
Joined: Tue Jul 24, 2012 6:30 pm
Location: Ukraine

Re: QxOrm and Qt5: QxService works incorrect?

Postby qxorm » Mon Feb 04, 2013 11:24 am

Please, if you have an ability, could you try to build the qxClientServer example in 64-bit Ubuntu or Mint OS and to check that it will be working for you?

Sorry no time to do that !
I develop and test only in 32bits, so maybe there are some issues in 64bits mode (perhaps some cast issues).
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Re: QxOrm and Qt5: QxService works incorrect?

Postby qxorm » Mon Mar 11, 2013 4:33 pm

Please, if you have an ability, could you try to build the qxClientServer example in 64-bit Ubuntu or Mint OS and to check that it will be working for you?

I think I have fixed all issues with Qt5 and 64bit mode.
To test it, you can download the last BETA version of QxOrm library here :
http://www.qxorm.com/version/QxOrm_1.2.5_BETA_11.zip

Please let me know if everything is working fine for you with this BETA version ;)
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Re: QxOrm and Qt5: QxService works incorrect?

Postby remico » Sun Apr 07, 2013 8:47 am

Hello. Sorry that I didn't reply so long.
I tested my app with QxOrm 1.2.5 on my Linux Mint 14 64bit.
Serialization works fine now!
Thank you for your great work and regular help.
remico
 
Posts: 13
Joined: Tue Jul 24, 2012 6:30 pm
Location: Ukraine

Re: QxOrm and Qt5: QxService works incorrect?

Postby qxorm » Sun Apr 07, 2013 6:49 pm

I tested my app with QxOrm 1.2.5 on my Linux Mint 14 64bit.
Serialization works fine now!

Great !
Thx for your tests ;)
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 4 guests

cron