Another one.
demos/macmainwindow/
g++ -c -pipe -Os -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -
D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../mkspecs/
macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../
include/QtGui -I../../include/QtGui -I../../include -I.moc/release-
shared -I.uic/debug-shared -F/Users/dap/proj/qt/qt-mac-cocoa-
opensource-src-4.4.0-alpha1/lib -o .obj/release-shared/main.o main.cpp
main.cpp: In constructor 'SearchWidget::SearchWidget(QWidget*)':
main.cpp:83: error: invalid conversion from 'void*' to 'OpaqueMenuRef*'
Issue of MenuRef vs OSMenuRef.
Changed to:
MenuRef macSearchMenu = (OpaqueMenuRef *) searchMenu-
>macMenu(0);
to get it to compile, and then get:
Undefined symbols:
"QMenu::macMenu(void*)", referenced from:
SearchWidget::SearchWidget(QWidget*)in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [macmainwindow.app/Contents/MacOS/macmainwindow] Error 1
So I revert to just // out the macMenu call plus next line.
Sorry if this is all known all ready.
To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]