FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

make error in linux

 
Post new topic   Reply to topic     Forum Index -> QtD
View previous topic :: View next topic  
Author Message
Jordi Sayol



Joined: 14 Nov 2011
Posts: 14

PostPosted: Sun Dec 25, 2011 5:57 am    Post subject: make error in linux Reply with quote

Hello,

I got this error when building the qtd library with make

Code:
/home/jordi/Escriptori/qtd/d2/qt/core/QMetaObject.d(189): Error: cannot implicitly convert expression (super.base()) of type qtd.meta.Runtime.MetaClass to qt.core.QMetaObject.QMetaObject


dmd 2.057 64-bit, Ubuntu 11.04 64-bit.

Regards,
Back to top
View user's profile Send private message
Nrgyzer



Joined: 12 Dec 2009
Posts: 31

PostPosted: Thu Jan 19, 2012 4:11 pm    Post subject: Reply with quote

I get the same error on Windows 7 64 bit and compiler 2.057 Sad

Is there any workaround for to solve the error?
Back to top
View user's profile Send private message
michaelc97



Joined: 06 May 2007
Posts: 9

PostPosted: Sat Jan 21, 2012 4:21 pm    Post subject: Reply with quote

ahhhhhhh, i get that error too on Ubuntu 64bit...
but worked fine on my Windows 7 64bit machine
Back to top
View user's profile Send private message
Nrgyzer



Joined: 12 Dec 2009
Posts: 31

PostPosted: Fri Jan 27, 2012 6:43 am    Post subject: Reply with quote

Hm... I'm working on Win7 64bit but I got this error...

I solved the problem by simply insert "cast(QMetaObject)" in QMetaObject.d. After that I got some errors regarding "typedef" (which seems to are marked as deprecated in 2.057)... so I replaced every "typedef" with "alias". After these changes the build was successfully.

But... I don't know how save my cast to QMetaObject is. So i didn't suggest so solve the problem like that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> QtD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group