pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qt4-libs fails to build on OS X (Snow Leopard)



Hi,

I'm trying to build qt4-libs on a 64-bit OS X Snow Leopard machine.

It fails like this...

/usr/pkgobj/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/src/corelib/io/qsettings_mac.cpp:595: error: no 'bool QConfFileSettingsPrivate::readPlistFile(const QString&, ParsedSettingsMap*) const' member function declared in class 'QConfFileSettingsPrivate' /usr/pkgobj/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/src/corelib/io/qsettings_mac.cpp:628: error: no 'bool QConfFileSettingsPrivate::writePlistFile(const QString&, const ParsedSettingsMap&) const' member function declared in class 'QConfFileSettingsPrivate'
make: *** [qsettings_mac.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt4-libs



.... Now it seems that those methods (writePlistFile and readPlistFile) are only defined if Q_OS_MAC is defined. And patch-af apparently removes this (or its equivalent, Q_OS_DARWIN)...

/* # define Q_OS_DARWIN *//* Else it'll try to use MacOS, no X, stuff - HF */



Any help would be great.

Louis


Home | Main Index | Thread Index | Old Index