View previous topic :: View next topic |
Author |
Message |
Jordi Sayol
Joined: 14 Nov 2011 Posts: 14
|
Posted: Sun Dec 25, 2011 5:57 am Post subject: make error in linux |
|
|
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 |
|
|
Nrgyzer
Joined: 12 Dec 2009 Posts: 31
|
Posted: Thu Jan 19, 2012 4:11 pm Post subject: |
|
|
I get the same error on Windows 7 64 bit and compiler 2.057
Is there any workaround for to solve the error? |
|
Back to top |
|
|
michaelc97
Joined: 06 May 2007 Posts: 9
|
Posted: Sat Jan 21, 2012 4:21 pm Post subject: |
|
|
ahhhhhhh, i get that error too on Ubuntu 64bit...
but worked fine on my Windows 7 64bit machine |
|
Back to top |
|
|
Nrgyzer
Joined: 12 Dec 2009 Posts: 31
|
Posted: Fri Jan 27, 2012 6:43 am Post subject: |
|
|
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 |
|
|
|