[Development] Compiling QT 5.7 Windows 64-bit

Partha Bagchi partha1b at gmail.com
Mon Mar 28 21:00:04 CEST 2016


On Mon, Mar 28, 2016 at 1:09 PM, Thiago Macieira <thiago.macieira at intel.com>
wrote:

> On segunda-feira, 28 de março de 2016 12:34:38 PDT Partha Bagchi wrote:
> > However, during configuration, I get errors like
> > C:optsopt64-kdeincludeglibconfig.h unknown command.
>
> Show the entire command that failed.
>
> 5.7 does not reach even glib.
My command line:

$ ./configure --prefix=/opt  -opensource -confirm-license -nomake tests
-nomake examples -no-separate-debug-info  -release -force-debug-info
-reduce-relocations
 -optimized-qmake -platform win32-g++ -I /opt/include -I
/opt/include/freetype2 -I /opt/include/glib-2.0 -L /opt/lib -lglib-2.0
-lintl -fontconfig -pkg-config -
openssl -glib -gtk -v

I get the following error
In file included from ../include/QtCore/qglobal.h:1:0,
                 from Z:/src/qt5/qtbase/qmake/library/qmake_global.h:32,
                 from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:32,
                 from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                 from Z:/src/qt5/qtbase/qmake/project.h:32,
                 from Z:/src/qt5/qtbase/qmake/project.cpp:29:
Z:/src/qt5/qtbase/src/corelib/global/qglobal.h:1123:23: error: expected ','
or '...' before '&&' token
 void qAsConst(const T &&) Q_DECL_EQ_DELETE;
                       ^
In file included from ../include/QtCore/qhash.h:1:0,
                 from Z:/src/qt5/qtbase/qmake/library/proitems.h:36,
                 from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:33,
                 from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                 from Z:/src/qt5/qtbase/qmake/project.h:32,
                 from Z:/src/qt5/qtbase/qmake/project.cpp:29:
Z:/src/qt5/qtbase/src/corelib/tools/qhash.h: In member function
'QPair<QHash<K, V>::iterator, QHash<K, V>::iterator> QHash<K,
V>::equal_range(const Key&)':
Z:/src/qt5/qtbase/src/corelib/tools/qhash.h:953:10: error: 'pair' does not
name a type
     auto pair = qAsConst(*this).equal_range(akey);
          ^
Z:/src/qt5/qtbase/src/corelib/tools/qhash.h:954:31: error: 'pair' was not
declared in this scope
     return qMakePair(iterator(pair.first.i), iterator(pair.second.i));
                               ^
Z:/src/qt5/qtbase/src/corelib/tools/qhash.h:954:31: note: suggested
alternative:
In file included from
Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include/c++/utility:70:0,
                 from
Z:/src/qt5/qtbase/src/corelib/global/qcompilerdetection.h:939,
                 from ../include/QtCore/qcompilerdetection.h:1,
                 from Z:/src/qt5/qtbase/src/corelib/global/qglobal.h:80,
                 from ../include/QtCore/qglobal.h:1,
                 from Z:/src/qt5/qtbase/qmake/library/qmake_global.h:32,
                 from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:32,
                 from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                 from Z:/src/qt5/qtbase/qmake/project.h:32,
                 from Z:/src/qt5/qtbase/qmake/project.cpp:29:
Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12:
note:   'std::pair'
     struct pair
            ^
In file included from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:33:0,
                 from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                 from Z:/src/qt5/qtbase/qmake/project.h:32,
                 from Z:/src/qt5/qtbase/qmake/project.cpp:29:
Z:/src/qt5/qtbase/qmake/library/proitems.h: At global scope:
Z:/src/qt5/qtbase/qmake/library/proitems.h:367:35: error: expected ',' or
'...' before '&&' token
     ProFunctionDef(ProFunctionDef &&other) Q_DECL_NOTHROW

etc.

> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160328/a7aee954/attachment.html>


More information about the Development mailing list