[Gambas-devel] Compiling Gambas3

Kari Laine kari.laine at ...605...
Sat Jul 5 01:25:37 CEST 2008


Kari Laine wrote:
> Kari Laine wrote:
>   
>> Hi,
>>
>> I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I
>> get this error
>>
>> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
>> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
>> -I/usr/lib/qt3//include   -I../../share -I../../src/share   -pipe -Wall
>> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
>> -Os -fno-omit-frame-pointer  -MT CDial_moc.lo -MD -MP -MF
>> .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp
>> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
>> include <QObject>."
>>
>> I don't know QT enough to solve this - could someone help?
>>
>> On Debian machine all compiles nicely.....
>>   
>>     
> Same Problem with SUSE 11.0  - Hopefully someone would give me pointers 
> what to try.
> Maybe I should ditch SUSE for Debian...
>
>
> Best Regards
> Kari Laine
>   
No I am going to tell you howto shoot youself in the foot in SUSE....
This problem was caused by the fact that I had both Qt3-devel and 
Qt4-devel installed. I removed Qt4-devel and reinstalled Qt3-devel and 
Qt3-devel-tools with force to overwrite among others the moc-compiler 
with Qt3-version. After that ./configure and make and all  was fine. 
This  problem took me a day to figure out - I must be darn stupid :-)

Best Regards
Kari Laine









More information about the Devel mailing list