[Smtk-developers] Qt5 build

David Thompson david.thompson at kitware.com
Mon Jul 17 16:52:58 EDT 2017


Hi Haocheng,

> Would you please try the following smtk patch?

That works, although I do get some warnings (pasted below).

> It should iron out most of the errors. For my trial, the only problem is about how to build qt5 with openssl enabled on Linux... A homebrew qt5 on mac should be able to bypass the error as "qt5 cannot find openssl".

I did not see any SSL errors/warnings using homebrew's qt 5.9.1.

	David


[16/68] Building CXX object ThirdParty/SMTK/smtk/extension/cumulus/CMakeFiles/smtkCumulusExt.dir/cumulusproxy.cxx.o
/stage/source/cmb/5/ThirdParty/SMTK/smtk/extension/cumulus/cumulusproxy.cxx:158:54: warning: unused parameter 'newtSessionId' [-Wunused-parameter]
void CumulusProxy::authenticateGirder(const QString& newtSessionId)
                                                     ^
/stage/source/cmb/5/ThirdParty/SMTK/smtk/extension/cumulus/cumulusproxy.cxx:355:76: warning: unused parameter 'errors' [-Wunused-parameter]
void CumulusProxy::sslErrors(QNetworkReply* reply, const QList<QSslError>& errors)
                                                                           ^
2 warnings generated.
[17/68] Building CXX object ThirdParty/SMTK/smtk/extension/cumulus/CMakeFiles/smtkCumulusExt.dir/girderrequest.cxx.o
/stage/source/cmb/5/ThirdParty/SMTK/smtk/extension/cumulus/girderrequest.cxx:315:21: warning: unused variable 'request' [-Wunused-variable]
  ListItemsRequest* request = qobject_cast<ListItemsRequest*>(this->sender());
                    ^
/stage/source/cmb/5/ThirdParty/SMTK/smtk/extension/cumulus/girderrequest.cxx:348:23: warning: unused variable 'request' [-Wunused-variable]
  ListFoldersRequest* request = qobject_cast<ListFoldersRequest*>(this->sender());
                      ^
/stage/source/cmb/5/ThirdParty/SMTK/smtk/extension/cumulus/girderrequest.cxx:420:21: warning: unused variable 'request' [-Wunused-variable]
  ListItemsRequest* request = qobject_cast<ListItemsRequest*>(this->sender());
                    ^
3 warnings generated.
[18/68] Building CXX object ThirdParty/SMTK/smtk/extension/cumulus/CMakeFiles/smtkCumulusExt.dir/cumuluswidget.cxx.o
/stage/source/cmb/5/ThirdParty/SMTK/smtk/extension/cumulus/cumuluswidget.cxx:28:5: warning: field 'm_loginDialog' will be initialized after field 'm_jobTableModel' [-Wreorder]
  , m_loginDialog(this)
    ^
1 warning generated.



More information about the Smtk-developers mailing list