|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Problem with Qt on Snow LeopardHi,
I just installed the Qt-4.6 snapshot qt-everywhere-opensource-src-4.6.0-tp1.tar.gz which is assumed to support MacOS 10.6 Snow Leopard following the instructions on http://doc.qt.nokia.com/4.6-snapshot/install-mac.html I scrupulously followed the most basic installation instructions. Contrary to what is stated on this page, the software is installed by default into the directory /usr/local/Trolltech/Qt-4.6.0-tp1 which is still fine with me. However, when building TeXmacs after ./configure --enable-qt --enable-macosx-extensions I obtain the message below. Any ideas about what to do? --Joris ---------------------------------------------- g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers -IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers -IData/String -IData/Tmfs -IData/Tree -IGuile -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics -IGraphics/Renderer -IPlugins -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -IEdit/Editor -IEdit/Interface -IEdit/Modify -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -D_THREAD_SAFE -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.6.0-tp1/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/Qt-4.6.0-tp1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.6.0-tp1/include/QtCore -I/usr/local/Trolltech/Qt-4.6.0-tp1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui -I/usr/local/Trolltech/Qt-4.6.0-tp1/include -I. -I. -F/usr/local/Trolltech/Qt-4.6.0-tp1/lib -Wall -Wno-return-type -O2 -fno-rtti -fno-exceptions -INONE/include -c ./Edit/Interface/edit_complete.cpp -o Objects/edit_complete.o In file included from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtCore/qnamespace.h:45, from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtCore/qobjectdefs.h:45, from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qwindowdefs.h:45, from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/QtGui.framework/Versions/4/Headers/qwidget.h:45, from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/QtGui.framework/Versions/4/Headers/QWidget:1, from Plugins/Qt/qt_widget.hpp:18, from Plugins/Qt/qt_simple_widget.hpp:16, from Edit/editor.hpp:19, from ./Edit/Interface/edit_interface.hpp:14, from ./Edit/Interface/edit_complete.cpp:12: /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtCore/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration." In file included from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qmatrix.h:46, from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qbrush.h:50, from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qpalette.h:47, from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/QtGui.framework/Versions/4/Headers/qwidget.h:49, from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/QtGui.framework/Versions/4/Headers/QWidget:1, from Plugins/Qt/qt_widget.hpp:18, from Plugins/Qt/qt_simple_widget.hpp:16, from Edit/editor.hpp:19, from ./Edit/Interface/edit_interface.hpp:14, from ./Edit/Interface/edit_complete.cpp:12: /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qregion.h: In member function 'OpaqueRgnHandle* QRegion::handle(bool) const': /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qregion.h:159: error: 'toQDRgn' was not declared in this scope make[1]: *** [Objects/edit_complete.o] Error 1 make: *** [TEXMACS] Error 2 ---------------------------------------------- _______________________________________________ Texmacs-dev mailing list Texmacs-dev@... http://lists.gnu.org/mailman/listinfo/texmacs-dev |
|
|
Re: Problem with Qt on Snow LeopardHi,
for the first error try to force 32 bits compilation in TeXmacs by using the -arch option to gcc: gcc -arch i386 for the second, it could be one of the name clashes between TeXmacs and MacOSX headers, but I'm not sure. Try to look at the definition of the symbol toQDRgn which causes error. best max On 3 oct. 09, at 15:18, Joris van der Hoeven wrote: > Hi, > > I just installed the Qt-4.6 snapshot > > qt-everywhere-opensource-src-4.6.0-tp1.tar.gz > > which is assumed to support MacOS 10.6 Snow Leopard following the > instructions on > > http://doc.qt.nokia.com/4.6-snapshot/install-mac.html > > I scrupulously followed the most basic installation instructions. > Contrary to what is stated on this page, the software is installed > by default into the directory > > /usr/local/Trolltech/Qt-4.6.0-tp1 > > which is still fine with me. However, when building TeXmacs after > > ./configure --enable-qt --enable-macosx-extensions > > I obtain the message below. > > Any ideas about what to do? --Joris > > ---------------------------------------------- > g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/ > Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/ > Containers -IKernel/Types -IData/Convert -IData/Drd -IData/History - > IData/Observers -IData/String -IData/Tmfs -IData/Tree -IGuile - > IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/ > Mathematics -IGraphics/Renderer -IPlugins -ITypeset -ITypeset/Bridge > -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -IEdit/ > Editor -IEdit/Interface -IEdit/Modify -I/opt/local/include/freetype2 > -I/opt/local/include -I/opt/local/include -I/opt/local/include - > D_THREAD_SAFE -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/ > Trolltech/Qt-4.6.0-tp1/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/ > Qt-4.6.0-tp1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/ > Trolltech/Qt-4.6.0-tp1/include/QtCore -I/usr/local/Trolltech/ > Qt-4.6.0-tp1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/ > Trolltech/Qt-4.6.0-tp1/include/QtGui -I/usr/local/Trolltech/Qt-4.6.0- > tp1/include -I. -I. -F/usr/local/Trolltech/Qt-4.6.0-tp1/lib -Wall - > Wno-return-type -O2 -fno-rtti -fno-exceptions -INONE/include -c ./ > Edit/Interface/edit_complete.cpp -o Objects/edit_complete.o > In file included from /usr/local/Trolltech/Qt-4.6.0-tp1/include/ > QtCore/qnamespace.h:45, > from /usr/local/Trolltech/Qt-4.6.0-tp1/include/ > QtCore/qobjectdefs.h:45, > from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/ > qwindowdefs.h:45, > from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/ > QtGui.framework/Versions/4/Headers/qwidget.h:45, > from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/ > QtGui.framework/Versions/4/Headers/QWidget:1, > from Plugins/Qt/qt_widget.hpp:18, > from Plugins/Qt/qt_simple_widget.hpp:16, > from Edit/editor.hpp:19, > from ./Edit/Interface/edit_interface.hpp:14, > from ./Edit/Interface/edit_complete.cpp:12: > /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtCore/qglobal.h:288:2: > error: #error "You are building a 64-bit application, but using a 32- > bit version of Qt. Check your build configuration." > In file included from /usr/local/Trolltech/Qt-4.6.0-tp1/include/ > QtGui/qmatrix.h:46, > from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/ > qbrush.h:50, > from /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/ > qpalette.h:47, > from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/ > QtGui.framework/Versions/4/Headers/qwidget.h:49, > from /usr/local/Trolltech/Qt-4.6.0-tp1/lib/ > QtGui.framework/Versions/4/Headers/QWidget:1, > from Plugins/Qt/qt_widget.hpp:18, > from Plugins/Qt/qt_simple_widget.hpp:16, > from Edit/editor.hpp:19, > from ./Edit/Interface/edit_interface.hpp:14, > from ./Edit/Interface/edit_complete.cpp:12: > /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qregion.h: In member > function 'OpaqueRgnHandle* QRegion::handle(bool) const': > /usr/local/Trolltech/Qt-4.6.0-tp1/include/QtGui/qregion.h:159: > error: 'toQDRgn' was not declared in this scope > make[1]: *** [Objects/edit_complete.o] Error 1 > make: *** [TEXMACS] Error 2 > ---------------------------------------------- > > > _______________________________________________ > Texmacs-dev mailing list > Texmacs-dev@... > http://lists.gnu.org/mailman/listinfo/texmacs-dev _______________________________________________ Texmacs-dev mailing list Texmacs-dev@... http://lists.gnu.org/mailman/listinfo/texmacs-dev |
|
|
Re: Problem with Qt on Snow LeopardOn Sat, Oct 03, 2009 at 03:38:03PM +0200, Gubinelli Massimiliano wrote:
> Hi, > for the first error try to force 32 bits compilation in TeXmacs by > using the -arch option to gcc: > > gcc -arch i386 > > for the second, it could be one of the name clashes between TeXmacs > and MacOSX headers, but I'm not sure. Try to look at the definition of > the symbol toQDRgn which causes error. I don't understand: on some pages found via Google, it seemed to me that Qt 4.6.0 takes advantage of the 64 bitness of the Mac OS Snow Leopard. Should I specify something at the configuration of Qt? I would like to have everything compiled in 64 bit mode... Thanks, --Joris _______________________________________________ Texmacs-dev mailing list Texmacs-dev@... http://lists.gnu.org/mailman/listinfo/texmacs-dev |
|
|
Re: Problem with Qt on Snow LeopardOn Sat, Oct 03, 2009 at 07:17:31PM +0200, Joris van der Hoeven wrote:
> On Sat, Oct 03, 2009 at 03:38:03PM +0200, Gubinelli Massimiliano wrote: > > Hi, > > for the first error try to force 32 bits compilation in TeXmacs by > > using the -arch option to gcc: > > > > gcc -arch i386 > > > > for the second, it could be one of the name clashes between TeXmacs > > and MacOSX headers, but I'm not sure. Try to look at the definition of > > the symbol toQDRgn which causes error. > > I don't understand: on some pages found via Google, it seemed to me > that Qt 4.6.0 takes advantage of the 64 bitness of the Mac OS Snow Leopard. > Should I specify something at the configuration of Qt? > I would like to have everything compiled in 64 bit mode... OK, one has to configure Qt using the --cocoa option. I made some minor changes on the TeXmacs SVN and things compile well under Snow Leopard now. However, when running the program, there are several bugs: * The icon bars have a wrong size. * The cleaning/repainting of the main window is not well-synchronized. --Joris _______________________________________________ Texmacs-dev mailing list Texmacs-dev@... http://lists.gnu.org/mailman/listinfo/texmacs-dev |
| Free embeddable forum powered by Nabble | Forum Help |