Qmake is in Qt-5.0+’s bin dir Set your PATH to include it
Or there is also a “qmake” in WebKit’s Tools build, check it is there These problems should be easily solved if you understand the error info. 发件人: Frank [mailto:qq371811...@126.com] 发送时间: 2013年10月18日 14:05 收件人: 'Chen Zhixiang'; webkit-qt@lists.webkit.org 主题: reply: [webkit-qt] Unable to determine current SVN revision in /home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm when build webkit Well, thanks for your reply. I tried to execute: frank@frank-PC:~/webkit$ sudo ./Tools/Scripts/build-webkit �Cqt but I got messages following: Can't exec "qmake": No such file or directory at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 1850. Use of uninitialized value $hostDataPath in scalar chomp at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 1850. Use of uninitialized value $hostDataPath in concatenation (.) or string at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 1851. Can't exec "qmake": No such file or directory at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 1853. Use of uninitialized value $mkspec in scalar chomp at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 1853. Use of uninitialized value $hostDataPath in concatenation (.) or string at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 1854. Use of uninitialized value $mkspec in concatenation (.) or string at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 1854. Unable to determine current SVN revision in /home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm line 417. Calling 'qmake /home/frank/webkit/WebKit.pro CONFIG-=production_build' in /home/frank/webkit/WebKitBuild/Release Could not execute qmake at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line 2326. It looks like that qmake is not installed successfully. So I just try: frank@frank-PC:~/webkit$ qmake It is ok. Im confused…. 发件人: Chen Zhixiang [mailto:che...@cn.fujitsu.com] 发送时间: 2013年10月18日 12:12 收件人: 'Frank'; webkit-qt@lists.webkit.org 主题: 答复: [webkit-qt] Unable to determine current SVN revision in /home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm when build webkit >From the error info, maybe you should update your gcc to 4.7+ which supports C++11? 发件人: webkit-qt-boun...@lists.webkit.org [mailto:webkit-qt-boun...@lists.webkit.org] 代表 Frank 发送时间: 2013年10月18日 9:33 收件人: webkit-qt@lists.webkit.org 主题: [webkit-qt] Unable to determine current SVN revision in /home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm when build webkit Hi all: How can I compile qtwebkit project in Ubuntu. I just follow http://trac.webkit.org/wiki/QtWebKitGardening this guide, but it is failed when I run build-webkit �Cqt. It is said: Unable to determine current SVN revision in /home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm line 418. Calling 'qmake /home/frank/webkit/WebKit.pro CONFIG-=production_build' in /home/frank/webkit/WebKitBuild/Release /home/frank/webkit/WebKit.pro:21: 'use?' is not a recognized test function. /home/frank/webkit/WebKit.pro:31: 'build?' is not a recognized test function. /home/frank/webkit/WebKit.pro:37: 'build?' is not a recognized test function. Calling 'make -j1' in /home/frank/webkit/WebKitBuild/Release cd Source/WTF/ && ( test -e Makefile.WTF || /home/frank/Qt5.1.1/5.1.1/gcc_64/bin/qmake /home/frank/webkit/Source/WTF/WTF.pro CONFIG-=production_build -o Makefile.WTF ) && make -f Makefile.WTF make[1]: Entering directory `/home/frank/webkit/WebKitBuild/Release/Source/WTF' g++ -c -pipe -O3 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I../../../../../Qt5.1.1/5.1.1/gcc_64/mkspecs/linux-g++ -I../../../../Source/WTF -I../../../../Source/WTF -I../../../../Source/WTF/wtf -I../../../../../Qt5.1.1/5.1.1/gcc_64/include -I../../../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore -I. -I. -o Assertions.o ../../../../Source/WTF/wtf/Assertions.cpp In file included from ../../../../Source/WTF/wtf/Platform.h:32:0, from ../../../../Source/WTF/config.h:30, from ../../../../Source/WTF/wtf/Assertions.cpp:34: ../../../../Source/WTF/wtf/Compiler.h:185:2: error: #error "Please use a compiler that supports C++11 rvalue references." ../../../../Source/WTF/wtf/Compiler.h:188:2: error: #error "Please use a compiler that supports C++11 static_assert." ../../../../Source/WTF/wtf/Compiler.h:191:2: error: #error "Please use a compiler that supports C++11 auto." ……. What should I do?
_______________________________________________ webkit-qt mailing list webkit-qt@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-qt