Thanks, it work fine for me Regards CdQ
On Sat, May 29, 2010 at 2:12 PM, Viktor Szakáts <harbour...@syenar.hu>wrote: > > Hi, I'm trying making Harbour binaries for linux platform with the last > Qt version (4.6.2), but my linux have headers for qt 4.5.2 pre instaled at > /usr/include > > > > I'm using: > > > > export > HB_WITH_QT="/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include" > > > > to override the /usr/include folder > > > > but HBMK2 has detected the moc utility in the default Linux location and > has ignored my override setting > > > > ! Using QT 'moc' executable: /usr/bin/moc (autodetected) > > gcc -I. -I../../../../../include -W -Wall -O3 -DHB_LEGACY_TYPES_OFF > -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include > -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtCore > -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtGui > -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtNetwork > -omoc_hbqt_hbdbfmodel.o -c moc_hbqt_hbdbfmodel.cpp > > moc_hbqt_hbdbfmodel.cpp:14:2: error: #error "This file was generated > using the moc from 4.5.2. It" > > moc_hbqt_hbdbfmodel.cpp:15:2: error: #error "cannot be used with the > include files from this version of Qt." > > moc_hbqt_hbdbfmodel.cpp:16:2: error: #error "(The moc has changed too > much.)" > > make[3]: * [moc_hbqt_hbdbfmodel.o] Error 1 > > make[2]: * [descend] Error 2 > > make[1]: * [hbqt.inst] Error 2 > > make: * [contrib.inst] Error 2 > > > > Can you help me to detected the moc utility from the folder > "/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include"? > > Set HB_QT_MOC_BIN. > > Viktor > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > -- Saludos/Regards/Abraços CdQ
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour