jaddison
Joined: 25 Aug 2009 Posts: 8
|
Posted: Sun Sep 13, 2009 6:15 pm Post subject: Field report building on Mac OS X |
|
|
Since some work had been done in QtD to help build on OS X I thought I'd give it a try building against a binary / frameworks install of Qt. I tried building with:
* Mac OS X 10.5.8
* gcc 4.0 (XCode 3.1.3)
* dmd v2.032
* Qt 4.5.0 (binary framework install)
* QtD r276
and got:
Code: | ...
-- Found Qt-Version 4.5.0
-- Configuring done
CMake Error in CMakeLists.txt:
Cannot find source file "QTextCodec_ConverterState_shell.cpp". Tried
extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in
.txx
-- Build files have been written to: /Users/jra/prj/qtd/bld/build
make[2]: *** [main] Error 1
make[1]: *** [CMakeFiles/main.dir/all] Error 2
make: *** [all] Error 2
|
Then I tried with no-frameworks Qt:
* Mac OS X 10.5.8
* gcc 4.0 (XCode 3.1.3)
* dmd v2.032
* Qt 4.5.2 (source no-framework install)
* QtD r276
and got:
Code: | ...
[ 95%] Building CXX object CMakeFiles/cpp_webkit.dir/cpp/qt_webkit/QWebPage_shell.cpp.o
[ 95%] Building CXX object CMakeFiles/cpp_webkit.dir/cpp/qt_webkit/QWebSettings_shell.cpp.o
[ 95%] Building CXX object CMakeFiles/cpp_webkit.dir/cpp/qt_webkit/QWebView_shell.cpp.o
Linking CXX static library CMakeFiles/libcpp_webkit.a
[ 95%] Built target cpp_webkit
Scanning dependencies of target qtdcore
/Users/jra/prj/qtd/qt/d2/qt/Signal.d(433): Error: class core.thread.ThreadLocal!(Object).ThreadLocal is deprecated
make[5]: *** [CMakeFiles/qtdcore.dir/qtdcore0.o] Error 1
make[4]: *** [CMakeFiles/qtdcore.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [main] Error 2
make[1]: *** [CMakeFiles/main.dir/all] Error 2
make: *** [all] Error 2
|
Then I tried with no-frameworks Qt and QtD r272:
* Mac OS X 10.5.8
* gcc 4.0 (XCode 3.1.3)
* dmd v2.032
* Qt 4.5.2 (source no-framework install)
* QtD r272
and got:
Code: | ...
[ 95%] Building CXX object CMakeFiles/cpp_webkit.dir/cpp/qt_webkit/QWebPage_shell.cpp.o
[ 95%] Building CXX object CMakeFiles/cpp_webkit.dir/cpp/qt_webkit/QWebSettings_shell.cpp.o
[ 95%] Building CXX object CMakeFiles/cpp_webkit.dir/cpp/qt_webkit/QWebView_shell.cpp.o
Linking CXX static library CMakeFiles/libcpp_webkit.a
[ 95%] Built target cpp_webkit
Scanning dependencies of target qtdcore
/Users/jra/prj/qtd-272/qt/d2/qt/Signal.d(433): Error: class core.thread.ThreadLocal!(Object).ThreadLocal is deprecated
make[5]: *** [CMakeFiles/qtdcore.dir/qtdcore0.o] Error 1
make[4]: *** [CMakeFiles/qtdcore.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [main] Error 2
make[1]: *** [CMakeFiles/main.dir/all] Error 2
make: *** [all] Error 2
|
Then I tried with no-frameworks Qt and QtD r272 and dmd 2.031:
* Mac OS X 10.5.8
* gcc 4.0 (XCode 3.1.3)
* dmd v2.032
* Qt 4.5.2 (source no-framework install)
* QtD r272
and got:
Code: | ...
[ 99%] Building CXX object tools/duic/CMakeFiles/duic.dir/d/dwriteicondeclaration.cpp.o
[ 99%] Building CXX object tools/duic/CMakeFiles/duic.dir/d/dwriteiconinitialization.cpp.o
[ 99%] Building CXX object tools/duic/CMakeFiles/duic.dir/d/dwriteinitialization.cpp.o
[100%] Building CXX object tools/duic/CMakeFiles/duic.dir/main.cpp.o
Linking CXX executable duic
[100%] Built target duic
Scanning dependencies of target tools
[100%] Built target tools
[100%] Built target main
|
So, it works with the previous version of dmd2 (2.031), a recent (but not current) revision of QtD, and no-frameworks Qt.
Thanks,
Jason |
|