>From: Lincoln Ramsay <a1291...@gmail.com> >To: interest@qt-project.org >Sent: Tuesday, November 27, 2012 5:47 PM >Subject: Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac > > >On 28/11/12 03:16, VStevenP wrote: > >Is there any way to configure Qt5 Beta2 Mac to _only_ build for release? >> >> >>If I do configure with the -release setting, it still ends up doing >>debug_and_release.: >> >> >>qmake vars .......... qmake switches ......... >>Build .................. libs tools examples >>Configuration .......... ... debug_and_release ... >>Debug .................. yes (combined) >> >> >> >>I think this is likely a bug.
>Odd... but I don't see that logic in configure (and this hasn't >changed in some time either). > >debug-and-release defaults off. It's turned on if you're doing a >non-developer build on Mac and haven't passed -release or -debug. If >you're doing a developer build, -debug is the default. > >If you pass -release or -debug then debug-and-release will only be >on if you also pass -debug-and-release. > >You'll have to share a more complete example of how you configured Qt... >-- >Link Hi Link, Thanks for your thoughts...it's much appreciated. I simply did: ./configure -prefix $PWD/qtbase -release -opensource from within a freshly-created qt-everywhere-opensource-src-5.0.0-beta2 directory. I created this directory using tar xvzf on the file found here: http://releases.qt-project.org/qt5.0/beta2/single/qt-everywhere-opensource-src-5.0.0-beta2.tar.gz Here's the result of the configure: Build type: macx-clang Architecture: x86_64, features: mmx sse sse2 sse3 ssse3 Host architecture: x86_64, features: mmx sse sse2 sse3 ssse3 Platform notes: - Also available for Mac OS X: macx-g++ Build .................. libs tools examples Configuration .......... qpa largefile precompile_header sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 absolute_library_soname pcre minimal-config small-config medium-config large-config full-config build_all debug_and_release no-pkg-config coreservices accessibility opengl shared qpa reduce_exports getaddrinfo ipv6ifname getifaddrs png freetype system-zlib nis cups iconv openssl rpath corewlan concurrent audio-backend v8 v8snapshot release debug qt_framework Debug .................. yes (combined) Default Link ........... debug Force debug info ....... no C++11 support .......... no pkg-config ............. no QtDBus module .......... no QtConcurrent code ...... yes QtGui module ........... yes QtWidgets module ....... yes JavaScriptCore JIT ..... To be decided by JavaScriptCore QML debugging .......... yes PCH support ............ yes SSE2/SSE3/SSSE3......... yes/yes/yes SSE4.1/SSE4.2........... yes/yes/yes AVX/AVX2................ yes/yes IPv6 ifname support .... yes getaddrinfo support .... yes getifaddrs support ..... yes Accessibility .......... yes NIS support ............ yes CUPS support ........... yes Iconv support .......... yes Glib support ........... no GStreamer support ...... no PulseAudio support ..... no Large File support ..... yes GIF support ............ plugin JPEG support ........... plugin (qt) PNG support ............ yes (qt) zlib support ........... system Session management ..... auto libudev support ........ no Use system proxies ..... no OpenGL support ......... yes (Desktop OpenGL) OpenVG support ......... no XShape support ......... auto XVideo support ......... auto XSync support .......... auto Xinerama support ....... runtime Xcursor support ........ runtime Xfixes support ......... runtime Xrandr support ......... runtime Xi support ............. runtime Xi2 support ............ auto MIT-SHM support ........ auto FontConfig support ..... no XKB Support ............ auto immodule support ....... yes GTK theme support ...... no PostgreSQL support ..... plugin ODBC support ........... plugin SQLite support ......... plugin (qt) OpenSSL support ........ yes (run-time) Alsa support ........... no CoreWlan support ....... yes libICU support ......... no PCRE support ........... qt Xcb support ............ no Xrender support ........ no EGLFS support .......... no DirectFB support ....... no LinuxFB support ........ no KMS support ............ no _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest