Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building qt 5.6 from git
Qt 6.11 is out! See what's new in the release blog

Building qt 5.6 from git

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 899 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • joe.goriJ Offline
    joe.goriJ Offline
    joe.gori
    wrote on last edited by
    #1

    I build qt by doing the following

    ./configure -confirm-license -commercial -platform macx-clang-32 -developer-build
    make

    I get the following error

    /Users/Peregrine58/gitQt/qt5/qtbase/bin/qmake -o Makefile tst.pro
    /Users/Peregrine58/gitQt/qt5/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_DISABLE_DEPRECATED_BEFORE=0 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/tst"' -D__APPLE__ -D__GNUC__=4 -D__APPLE_CC__ -I/Users/Peregrine58/gitQt/qt5/qtbase/mkspecs/macx-clang-32 -I/Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/tst -I/Users/Peregrine58/gitQt/qt5/qtbase/include -I/Users/Peregrine58/gitQt/qt5/qtbase/include/QtTest -I/Users/Peregrine58/gitQt/qt5/qtbase/include/QtCore/5.6.2 -I/Users/Peregrine58/gitQt/qt5/qtbase/include/QtCore/5.6.2/QtCore -I/Users/Peregrine58/gitQt/qt5/qtbase/include/QtCore -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include -F/Users/Peregrine58/gitQt/qt5/qtbase/lib ../tst_qpluginloader.cpp -o .moc/tst_qpluginloader.moc
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -arch i386 -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_DISABLE_DEPRECATED_BEFORE=0 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/tst"' -I. -I../../../../../../include -I../../../../../../include/QtTest -I../../../../../../include/QtCore/5.6.2 -I../../../../../../include/QtCore/5.6.2/QtCore -I../../../../../../include/QtCore -I.moc -I../../../../../../mkspecs/macx-clang-32 -F/Users/Peregrine58/gitQt/qt5/qtbase/lib -o .obj/tst_qpluginloader.o ../tst_qpluginloader.cpp
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -arch i386 -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_DISABLE_DEPRECATED_BEFORE=0 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/tst"' -I. -I../../../../../../include -I../../../../../../include/QtTest -I../../../../../../include/QtCore/5.6.2 -I../../../../../../include/QtCore/5.6.2/QtCore -I../../../../../../include/QtCore -I.moc -I../../../../../../mkspecs/macx-clang-32 -F/Users/Peregrine58/gitQt/qt5/qtbase/lib -o .obj/fakeplugin.o ../fakeplugin.cpp
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -arch i386 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -weak_framework XCTest -Wl,-rpath,/Users/Peregrine58/gitQt/qt5/qtbase/lib -o ../tst_qpluginloader .obj/tst_qpluginloader.o .obj/fakeplugin.o -F/Users/Peregrine58/gitQt/qt5/qtbase/lib -framework QtTest -framework Security -framework ApplicationServices -framework IOKit -framework Foundation -framework QtCore -framework DiskArbitration
    cd machtest/ && ( test -e Makefile || /Users/Peregrine58/gitQt/qt5/qtbase/bin/qmake /Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
    /Users/Peregrine58/gitQt/qt5/qtbase/bin/qmake -o Makefile machtest.pro
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -pipe -stdlib=libc++ -arch i386 -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -shared -arch i386 -o good.i386.dylib -I-I. -I../../../../../../include -I../../../../../../include/QtGui -I../../../../../../include/QtCore -I/Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/machtest/.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../../../mkspecs/macx-clang-32 -F/Users/Peregrine58/gitQt/qt5/qtbase/lib /Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/machtest/../fakeplugin.cpp
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -pipe -stdlib=libc++ -arch i386 -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -shared -arch x86_64 -o good.x86_64.dylib -I-I. -I../../../../../../include -I../../../../../../include/QtGui -I../../../../../../include/QtCore -I/Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/machtest/.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../../../mkspecs/macx-clang-32 -F/Users/Peregrine58/gitQt/qt5/qtbase/lib /Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/machtest/../fakeplugin.cpp
    /Users/Peregrine58/gitQt/qt5/qtbase/tests/auto/corelib/plugin/qpluginloader/machtest/ppcconverter.pl good.x86_64.dylib good.ppc64.dylib
    Invalid input. Unknown magic CA FE BA BE
    make[7]: *** [good.ppc64.dylib] Error 255
    make[6]: *** [sub-machtest-make_first-ordered] Error 2
    make[5]: *** [sub-qpluginloader-make_first] Error 2
    make[4]: *** [sub-plugin-make_first] Error 2
    make[3]: *** [sub-corelib-make_first] Error 2
    make[2]: *** [sub-auto-make_first] Error 2
    make[1]: *** [sub-tests-make_first] Error 2
    make: *** [module-qtbase-make_first] Error 2

    I have to have a version of qt that supports 32 bit for a compatibility reason with another app. Any thoughts

    I could actually get away with a lot less, no graphics, no ui, no sql, just need xml and socket support.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That's a test failing and this one's looks like 64bit only (I may be wrong though). You should add -no-make tests -no-make examples to your configure line.

      Out of curiosity, since you are passing the -developer-build option are you planning to work on Qt ? If not, then you should remove it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved