Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Problem Building Qt 5.2.1 Stable Branch

    Installation and Deployment
    1
    1
    1047
    Loading More Posts
    • 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.
    • E
      EricRFMA last edited by

      Hello...

      I seem to have chronic problems like this, that fix themselves for no apparent reason (which scares me), but I've tried two clean builds, with the same result.

      The problem: When I do <code>make</code>, it chugs for a while then dies with the following:
      @UIProcess/API/qt/qquickwebview.cpp:128:13: warning: enumeration values
      'kJSTypeUndefined' and 'kJSTypeNull' not handled in switch [-Wswitch]
      switch (JSValueGetType(context, value)) {
      ^
      UIProcess/API/qt/qquickwebview.cpp:1921:41: error: conversion from
      'const uint64_t' (aka 'const unsigned long long') to 'QFlag' is ambiguous
      return int(Qt::InputMethodHints(state.inputMethodHints));
      ^~~~~~~~~~~~~~~~~~~~~~
      /Volumes/Projects/Qt5.2.1/qt5/qtbase/lib/QtCore.framework/Headers/qflags.h:60:29: note:
      candidate constructor
      Q_DECL_CONSTEXPR inline QFlag(int ai) : i(ai) {}
      ^
      /Volumes/Projects/Qt5.2.1/qt5/qtbase/lib/QtCore.framework/Headers/qflags.h:61:29: note:
      candidate constructor
      Q_DECL_CONSTEXPR inline QFlag(uint ai) : i(int(ai)) {}
      ^
      /Volumes/Projects/Qt5.2.1/qt5/qtbase/lib/QtCore.framework/Headers/qflags.h:62:29: note:
      candidate constructor
      Q_DECL_CONSTEXPR inline QFlag(short ai) : i(int(ai)) {}
      ^
      /Volumes/Projects/Qt5.2.1/qt5/qtbase/lib/QtCore.framework/Headers/qflags.h:63:29: note:
      candidate constructor
      Q_DECL_CONSTEXPR inline QFlag(ushort ai) : i(int(uint(ai))) {}
      ^
      /Volumes/Projects/Qt5.2.1/qt5/qtbase/lib/QtCore.framework/Headers/qflags.h:108:42: note:
      passing argument to parameter 'f' here
      Q_DECL_CONSTEXPR inline QFlags(QFlag f) : i(f) {}@

      I run configure thus:
      @./configure -debug -prefix /Projects/Qt5.2.1 -no-pch -no-xcb -debug-and-release -sdk macosx10.8@

      My preflight cleaning consists of:
      @make clean
      git reset --hard
      git clean -dxf
      git submodule foreach --recursive "git clean -dfx"@

      Then, to update the pack:

      @git pull
      git submodule sync
      git submodule update --recursive@

      Then, I run <code>configure</code> as above (which may be redundant, not sure), then <code>make</code>.

      So does this build error look familiar? Is something wrong with my clean & build procedure? I've done it twice (which is usually enough to make things magically work again), but same result. I'll try it yet again, since it takes a few hours, and cross my fingers until maybe I can a reply here.

      Thanks!

      -Eric

      P.S. Building under Mac OS 10.8.5 with XCode 5.0.2

      1 Reply Last reply Reply Quote 0
      • First post
        Last post