On Nov 10, 2008, at 06:02 , Frank Mertens wrote:

> Trenton Schulz wrote:
>>
>> On Nov 1, 2008, at 13:09 , Frank Mertens wrote:
>>
>>> Is there a way to build Qt4.5 on Tiger?
>>>
>>> gcc -c -pipe -fconstant-cfstrings -g -fvisibility=hidden
>>> -fvisibility-inlines-hidden -Wall -W -DQT_SHARED
>>> -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB
>>> -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII - 
>>> DQT_ASCII_CAST_WARNINGS
>>> -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE
>>> -DQT_NO_CUPS -DQT_NO_LPR -DQT_NO_FREETYPE -DQT_NO_OPENTYPE
>>> -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK
>>> -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE
>>> -DQ_INTERNAL_QAPP_SRC -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
>>> -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/ 
>>> QtCore
>>> -I../../include -I../../include/QtGui -I.rcc/debug-shared
>>> -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src
>>> -Idialogs -I.moc/debug-shared -I.uic/debug-shared
>>> -F/Users/frank/work/qt-mac-commercial-src-4.5.0-tp1-debug/lib
>>> kernel/qapplication_mac.mm -o .obj/debug-shared/qapplication_mac.o
>>>
>>> kernel/qapplication_mac.mm: In static member function 'static  
>>> OSStatus
>>> QApplicationPrivate 
>>> ::globalEventProcessor(OpaqueEventHandlerCallRef*,
>>> OpaqueEventRef*, void*)':
>>> kernel/qapplication_mac.mm:1847: error: expected initializer  
>>> before '*'
>>> token
>>> kernel/qapplication_mac.mm:1848: error: 'tabletHash' was not  
>>> declared in
>>> this scope
>>> kernel/qapplication_mac.mm:1853: error: expected initializer  
>>> before '&'
>>> token
>>> kernel/qapplication_mac.mm:1866: error: 'deviceData' was not  
>>> declared in
>>> this scope
>>> kernel/qapplication_mac.mm:1869: error: 'deviceData' was not  
>>> declared in
>>> this scope
>>> kernel/qapplication_mac.mm:1872: error: 'deviceData' was not  
>>> declared in
>>> this scope
>>> kernel/qapplication_mac.mm:1875: error: 'deviceData' was not  
>>> declared in
>>> this scope
>>> kernel/qapplication_mac.mm: At global scope:
>>> kernel/qapplication_mac.mm:1047: warning: 'void
>>> qt_init_tablet_proximity_handler()' defined but not used
>>> make[2]: *** [.obj/debug-shared/qapplication_mac.o] Error 1
>>> make[1]: *** [debug-all] Error 2
>>> make: *** [sub-gui-make_default-ordered] Error 2
>>
>>
>> This should work. What was your exact configure line?
>>
>> -- Trenton
>>
>>
>
> Oh, I disabled tablet support.
> Probably some #ifdefs missing somewhere... to lazy to fix it myself.

Tablet support is always built in on Mac OS X since it is part of the  
OS (unlike X11 which requires another library, we resolve the symbols  
at runtime on windows if they are present). It's not something you can  
disable. If you look at the configure script, it's not listed as an  
option.

We could make the script be a bit smarter about detecting this... but  
then it might fail when the daredevils try to build X11 on Mac.

-- Trenton

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to