Hi Trenton,
Thanks for the response. I will just put my answers up here.
If I just run ./configure with no options, the OpenSSL support says "yes
(run-time)".
I don't know about different versions of OpenSSL. However, I do have
multiple Qt 4.5 for Cocoa snapshots in other directories, but I don't
see how that should matter.
Here is the link line with the error for a straight, default ./configure
and make:
g++ -headerpad_max_install_names -single_module -dynamiclib
-compatibility_version 4.5 -current_version 4.5.0 -install_name
/usr/local/Trolltech/Qt-4.5.0-tp1/lib/QtNetwork.framework/Versions/4/QtN
etwork -o QtNetwork .obj/debug-shared/qftp.o .obj/debug-shared/qhttp.o
.obj/debug-shared/qhttpnetworkconnection.o
.obj/debug-shared/qnetworkaccessmanager.o
.obj/debug-shared/qnetworkaccesscache.o
.obj/debug-shared/qnetworkaccessbackend.o
.obj/debug-shared/qnetworkaccessdatabackend.o
.obj/debug-shared/qnetworkaccessdebugpipebackend.o
.obj/debug-shared/qnetworkaccessfilebackend.o
.obj/debug-shared/qnetworkaccesscachebackend.o
.obj/debug-shared/qnetworkaccessftpbackend.o
.obj/debug-shared/qnetworkaccesshttpbackend.o
.obj/debug-shared/qnetworkcookie.o .obj/debug-shared/qnetworkrequest.o
.obj/debug-shared/qnetworkreply.o .obj/debug-shared/qnetworkreplyimpl.o
.obj/debug-shared/qabstractnetworkcache.o
.obj/debug-shared/qnetworkdiskcache.o .obj/debug-shared/qauthenticator.o
.obj/debug-shared/qhostaddress.o .obj/debug-shared/qhostinfo.o
.obj/debug-shared/qurlinfo.o .obj/debug-shared/qnetworkproxy.o
.obj/debug-shared/qnetworkinterface.o .obj/debug-shared/qhostinfo_unix.o
.obj/debug-shared/qnetworkinterface_unix.o
.obj/debug-shared/qnetworkproxy_mac.o
.obj/debug-shared/qabstractsocketengine.o
.obj/debug-shared/qnativesocketengine.o
.obj/debug-shared/qhttpsocketengine.o
.obj/debug-shared/qsocks5socketengine.o
.obj/debug-shared/qabstractsocket.o .obj/debug-shared/qtcpsocket.o
.obj/debug-shared/qudpsocket.o .obj/debug-shared/qtcpserver.o
.obj/debug-shared/qlocalsocket.o .obj/debug-shared/qlocalserver.o
.obj/debug-shared/qnativesocketengine_unix.o
.obj/debug-shared/qlocalsocket_unix.o
.obj/debug-shared/qlocalserver_unix.o .obj/debug-shared/qssl.o
.obj/debug-shared/qsslcertificate.o
.obj/debug-shared/qsslconfiguration.o .obj/debug-shared/qsslcipher.o
.obj/debug-shared/qsslerror.o .obj/debug-shared/qsslkey.o
.obj/debug-shared/qsslsocket.o .obj/debug-shared/qsslsocket_openssl.o
.obj/debug-shared/qsslsocket_openssl_symbols.o
.obj/debug-shared/moc_qnetworkaccesscache_p.o
.obj/debug-shared/moc_qnetworkaccessbackend_p.o
.obj/debug-shared/moc_qnetworkaccessdebugpipebackend_p.o
.obj/debug-shared/moc_qnetworkaccesshttpbackend_p.o
.obj/debug-shared/moc_qnetworkaccessftpbackend_p.o
.obj/debug-shared/moc_qnetworkcookie.o
.obj/debug-shared/moc_qnetworkreply.o
.obj/debug-shared/moc_qabstractnetworkcache.o
.obj/debug-shared/moc_qnetworkdiskcache.o
.obj/debug-shared/moc_qhostinfo_p.o
.obj/debug-shared/moc_qabstractsocketengine_p.o
.obj/debug-shared/moc_qnativesocketengine_p.o
.obj/debug-shared/moc_qhttpsocketengine_p.o
.obj/debug-shared/moc_qsocks5socketengine_p.o
.obj/debug-shared/moc_qtcpsocket.o .obj/debug-shared/moc_qudpsocket.o
.obj/debug-shared/moc_qlocalserver_p.o
-F/usr/local/trolltech/qt-mac-commercial-src-4.5.0-tp1/lib
-L/usr/local/trolltech/qt-mac-commercial-src-4.5.0-tp1/lib -framework
SystemConfiguration -framework QtCore
-L/usr/local/trolltech/qt-mac-commercial-src-4.5.0-tp1/lib -lz -lm
-framework ApplicationServices
Undefined symbols:
"qInitResources_network()", referenced from:
initNetworkResources() in qsslsocket_openssl.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../../lib/QtNetwork.framework/QtNetwork] Error 1
make: *** [sub-network-make_default-ordered] Error 2
If I make the single change of adding -no-openssl then I get past that
and on to this error:
/usr/local/Trolltech/qt-mac-commercial-src-4.5.0-tp1/src/gui/dialogs/qfi
ledialog_mac.mm:61:28: error: ui_qfiledialog.h: No such file or
directory
/usr/local/Trolltech/qt-mac-commercial-src-4.5.0-tp1/src/gui/dialogs/qfi
ledialog_mac.mm: In function 'objc_object* -[QNSOpenSavePanelDelegate
initWithAcceptMode:title:nameFilters:selectedNameFilter:hideNameFilterDe
tails:qDirFilter:fileOptions:fileMode:selectFile:confirmOverwrite:priv:]
(QNSOpenSavePanelDelegate*, objc_selector*, QFileDialog::AcceptMode,
const QString&, const QStringList&, const QString&, bool,
QFlags<QDir::Filter>, QFlags<QFileDialog::Option>,
QFileDialog::FileMode, const QString&, bool, QFileDialogPrivate*)':
/usr/local/Trolltech/qt-mac-commercial-src-4.5.0-tp1/src/gui/dialogs/qfi
ledialog_mac.mm:161: error: invalid use of undefined type 'struct
Ui_QFileDialog'
../../include/QtGui/private/../../../src/gui/dialogs/qfiledialog_p.h:88:
error: forward declaration of 'struct Ui_QFileDialog'
/usr/local/Trolltech/qt-mac-commercial-src-4.5.0-tp1/src/gui/dialogs/qfi
ledialog_mac.mm: In function 'void -[QNSOpenSavePanelDelegate
createTextField](QNSOpenSavePanelDelegate*, objc_selector*)':
/usr/local/Trolltech/qt-mac-commercial-src-4.5.0-tp1/src/gui/dialogs/qfi
ledialog_mac.mm:439: error: invalid use of undefined type 'struct
Ui_QFileDialog'
../../include/QtGui/private/../../../src/gui/dialogs/qfiledialog_p.h:88:
error: forward declaration of 'struct Ui_QFileDialog'
make[1]: *** [.obj/debug-shared/qfiledialog_mac.o] Error 1
make: *** [sub-gui-make_default-ordered] Error 2
This is the exact same error I get if I build for Cocoa.
Thanks!
Carlos Smith
Avid Technologies Inc.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Trenton
Schulz
Sent: Wednesday, October 22, 2008 4:38 AM
To: [email protected]
Subject: Re: [Qt4-preview-feedback] [Ann] Qt 4.5 Technical Preview
Released
Hello Carlos,
> On 2008-10-21 21:59:19 +0200, "Carlos Smith" <[EMAIL PROTECTED]>
> said:
>
> Has anyone been able to get this to build on OSX (10.5.5) for Cocoa?
>
> If I don't specify -no-openssl then I get a fatal error linking SSL.
What sort of errors are you getting? Do you have two versions of OpenSSL
and is it using the headers of one, but linking against another. What's
the link line look line?
When I configure Qt here the status screen shows this for OpenSSL:
OpenSSL support ..... yes (run-time)
What does it show for you?
>
> If I do specify -no-openssl I get past that and get a fatal error
> compiling
> qfiledialog_mac.mm: ui_qfiledialog.h No such file or directory.
This seems to indicate that qfiledialog.ui was run over by uic. Not sure
why that should matter if it's Carbon or Cocoa.
>
> My config spec is:
>
> ./configure -debug -platform macx-g++ -cocoa -arch x86_64 -no-openssl
>
> If I did the straight ./configure out-of-the-box I got the SSL build
> error.
>
> There were no special instructions in INSTALL that this would not
> build on Cocoa.
There really shouldn't be anything more than what you did. If you can
answer the questions we can figure out what went wrong.
-- Trenton
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback