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. Problem Building Qt 5.2.1 Stable Branch

Problem Building Qt 5.2.1 Stable Branch

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.1k Views
  • 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 Offline
    E Offline
    EricRFMA
    wrote on last edited by
    #1

    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
    0

    • Login

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