Am 28.02.2016 um 13:26 schrieb Enrico Forestieri <for...@lyx.org>:
> 
> On Sun, Feb 28, 2016 at 12:07:13PM +0100, Stephan Witt wrote:
>> 
>> I’m able to build Qt 5.6 from source now. I circumvented the compile problem
>> by excluding QtTools from the build.
> 
> It seems that with Qt 5.6.0 you need QtDeclarative for building QtTools.

At the time I failed to build Qt in QtTools I hadn't it excluded.

The compiler error I got was:

...
compiling 
/Users/stephan/git/qt-everywhere-opensource-src-5.6.0-rc/qttools/src/qdoc/main.cpp
In file included from 
/Users/stephan/git/qt-everywhere-opensource-src-5.6.0-rc/qttools/src/qdoc/main.cpp:49:
In file included from 
/Users/stephan/git/qt-everywhere-opensource-src-5.6.0-rc/qttools/src/qdoc/jscodemarker.h:41:
/Users/stephan/git/qt-everywhere-opensource-src-5.6.0-rc/qttools/src/qdoc/qmlcodemarker.h:43:10:
 fatal error: 'private/qqmljsastfwd_p.h' file not found
#include <private/qqmljsastfwd_p.h>
         ^
1 error generated.
make[3]: *** [.obj/main.o] Error 1
make[2]: *** [sub-qdoc-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qttools-make_first] Error 2

The configure command I’ve used is:

$ /Users/stephan/git/qt-everywhere-opensource-src-5.6.0-rc/qtbase/configure 
-top-level -debug-and-release -opensource -silent -shared -confirm-license 
-no-strip -no-kms -no-pkg-config -nomake examples -nomake tools -skip 
qtconnectivity -skip qtscript -skip qtquickcontrols -prefix 
/Users/Shared/LyX/qt-5.6.0-rc-frameworks-cocoa-x86_64

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.

You have already accepted the terms of the Open Source license.

Preparing build tree...
Running configuration tests (phase 1)...
Done running configuration tests.
Creating qmake...
Done.
Running configuration tests (phase 2)...
Done running configuration tests.

   Configure summary

Build type:    macx-clang (x86_64, CPU features: cx16 mmx sse sse2 sse3 ssse3)

Build options:
  Configuration .......... accessibility audio-backend avx avx2 build_all c++11 
c++14 c++1z compile_examples concurrent corewlan cups dbus debug 
debug_and_release freetype full-config getaddrinfo getifaddrs gstreamer-1.0 
harfbuzz iconv ipv6ifname large-config largefile medium-config minimal-config 
nis no-pkg-config nostrip opengl pcre png precompile_header qpa qpa 
qt_framework reduce_exports release rpath securetransport shared silent 
small-config sse2 sse3 sse4_1 sse4_2 ssl ssse3 system-zlib 
  Build parts ............ libs
  Mode ................... debug and release; default link: debug
  Using sanitizer(s)...... none
  Using C++ standard ..... c++1z
  Using gold linker....... no
  Using new DTAGS ........ no
  Using PCH .............. yes
  Using LTCG ............. no
  Target compiler supports:
    SSE2/SSE3/SSSE3 ...... yes/yes/yes
    SSE4.1/SSE4.2 ........ yes/yes
    AVX/AVX2 ............. yes/yes

Qt modules and options:
  Qt D-Bus ............... yes (loading dbus-1 at runtime)
  Qt Concurrent .......... yes
  Qt GUI ................. yes
  Qt Widgets ............. yes
  Large File ............. yes
  QML debugging .......... yes
  Use system proxies ..... no

Support enabled for:
  Accessibility .......... yes
  ALSA ................... no
  CUPS ................... yes
  Evdev .................. no
  FontConfig ............. no
  FreeType ............... yes (bundled copy)
  Glib ................... no
  GStreamer .............. yes (1.0)
  GTK theme .............. no
  HarfBuzz ............... yes (bundled copy)
  Iconv .................. yes
  ICU .................... no
  Image formats: 
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using bundled copy)
    PNG .................. yes (in QtGui, using bundled copy)
  libinput................ no
  Logging backends: 
    journald ............... no
    syslog   ............... no
  mtdev .................. no
  Networking: 
    CoreWlan ............. yes
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    libproxy.............. no
    OpenSSL .............. no
    SecureTransport ...... yes
  NIS .................... yes
  OpenGL / OpenVG: 
    EGL .................. no
    OpenGL ............... desktop
    OpenVG ............... no
  PCRE ................... yes (bundled copy)
  pkg-config ............. no 
  PulseAudio ............. no
  QPA backends: 
    DirectFB ............. no
    EGLFS ................ no
      EGLFS i.MX6 ........ no
      EGLFS i.MX6 Wayland. no
      EGLFS EGLDevice .... no
      EGLFS GBM .......... no
      EGLFS Mali ......... no
      EGLFS Raspberry Pi . no
      EGLFS X11 .......... no
    LinuxFB .............. no
    Mir client............ no
    XCB .................. no
  Session management ..... yes
  SQL drivers: 
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using bundled copy)
    TDS .................. no
  tslib .................. no
  udev ................... no
  xkbcommon-x11........... no
  xkbcommon-evdev......... no
  zlib ................... yes (system library)

Info: creating super cache file 
/Users/stephan/git/lyx-build/qt-5.6.0-rc-build-cocoa/.qmake.super
Info: creating stash file 
/Users/stephan/git/lyx-build/qt-5.6.0-rc-build-cocoa/.qmake.stash

Qt is now configured for building. Just run 'gmake'.
Once everything is built, you must run 'gmake install'.
Qt will be installed into /Users/Shared/LyX/qt-5.6.0-rc-frameworks-cocoa-x86_64

Stephan

Reply via email to