<div dir="ltr"><font color="#ff0000" size="4"><b>Hello everyone! </b></font><div><font color="#ff0000" size="4"><b>It's my first time to build QGIS !  </b></font></div><div><font color="#ff0000" size="4"><b><br></b></font></div><div><font color="#ff0000" size="4"><b>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b style=""><font color="#ff0000" style="">Build Environment:</font></b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b><font color="#ff0000">         Windows 7 x64 </font></b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b><font color="#ff0000">        CMake3.11,</font></b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b><font color="#ff0000">         VS 2015</font></b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b><font color="#ff0000">Tutorial:</font></b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b style=""><font color="#ff0000" style="">           Building QGIS from source - step by step</font></b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b style=""><font color="#ff0000" style=""><br></font></b></div>

Although I have spent a week on solving build errors, I still cann't solve the following error:</b></font></div><div><br></div><div><div><b>1. CMake Error at cmake/FindQwt.cmake:47 (FILE):</b></div><div><b>  FILE failed to open for reading (No such file or directory):</b></div><div><b><br></b></div><div><b>    C:/OSGeo4W64/apps/Qt5/include/qwt_global.h</b></div><div><b>Call Stack (most recent call first):</b></div><div><b>  CMakeLists.txt:241 (FIND_PACKAGE)</b></div></div><div><b><br></b></div><div><div><b>2. Traceback (most recent call last):</b></div><div><b>  File "Z:/GitHub/QGIS/cmake/FindPyQt5.py", line 34, in <module></b></div><div><b>    import PyQt5.pyqtconfig</b></div><div><b>ModuleNotFoundError: No module named 'PyQt5'</b></div><div style="font-weight:bold"><br></div></div><div><div><b>3.</b><b>Traceback (most recent call last):</b></div><div><b>  File "Z:/GitHub/QGIS/cmake/FindPyQt5.py", line 37, in <module></b></div><div><b>    import PyQt5.QtCore</b></div><div><b>ModuleNotFoundError: No module named 'PyQt5'</b></div><div><b><br></b></div><div><b>4.Traceback (most recent call last):</b></div><div><b>  File "Z:/GitHub/QGIS/cmake/FindSIP.py", line 33, in <module></b></div><div><b>    import sipconfig</b></div><div><b>ModuleNotFoundError: No module named 'sipconfig'</b></div><div><b><br></b></div><div><b>5.CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):</b></div><div><b>  Could not find SIP</b></div><div><b>Call Stack (most recent call first):</b></div><div><b>  CMakeLists.txt:711 (FIND_PACKAGE)</b></div><div style="font-weight:bold"><br></div></div><div style="font-weight:bold"><br></div><div style=""><font size="4" style="background-color:rgb(255,255,255)" color="#ff0000"><b>The whole information about build QGIS is as follows:</b></font></div><div><div><b>CMake Deprecation Warning at CMakeLists.txt:7 (CMAKE_POLICY):</b></div><div><b>  The OLD behavior for policy CMP0048 will be removed from a future version</b></div><div><b>  of CMake.</b></div><div><b><br></b></div><div><b>  The cmake-policies(7) manual explains that the OLD behaviors of all</b></div><div><b>  policies are deprecated and that a policy should be set to OLD only under</b></div><div><b>  specific short-term circumstances.  Projects should be ported to the NEW</b></div><div><b>  behavior and not rely on setting a policy to OLD.</b></div><div><b><br></b></div><div><b><br></b></div><div><b>QGIS version: 3.1.0 Master (30100)</b></div><div><b>Could not find GRASS 7</b></div><div><b>Found Proj: C:/OSGeo4W64/lib/proj_i.lib</b></div><div><b>CMake Deprecation Warning at cmake/FindGEOS.cmake:17 (CMAKE_POLICY):</b></div><div><b>  The OLD behavior for policy CMP0053 will be removed from a future version</b></div><div><b>  of CMake.</b></div><div><b><br></b></div><div><b>  The cmake-policies(7) manual explains that the OLD behaviors of all</b></div><div><b>  policies are deprecated and that a policy should be set to OLD only under</b></div><div><b>  specific short-term circumstances.  Projects should be ported to the NEW</b></div><div><b>  behavior and not rely on setting a policy to OLD.</b></div><div><b>Call Stack (most recent call first):</b></div><div><b>  CMakeLists.txt:236 (FIND_PACKAGE)</b></div><div><b><br></b></div><div><b><br></b></div><div><b>Found GEOS: C:/OSGeo4W64/lib/geos_c.lib (3.5.0)</b></div><div><b>CMake Deprecation Warning at cmake/FindGDAL.cmake:17 (CMAKE_POLICY):</b></div><div><b>  The OLD behavior for policy CMP0053 will be removed from a future version</b></div><div><b>  of CMake.</b></div><div><b><br></b></div><div><b>  The cmake-policies(7) manual explains that the OLD behaviors of all</b></div><div><b>  policies are deprecated and that a policy should be set to OLD only under</b></div><div><b>  specific short-term circumstances.  Projects should be ported to the NEW</b></div><div><b>  behavior and not rely on setting a policy to OLD.</b></div><div><b>Call Stack (most recent call first):</b></div><div><b>  CMakeLists.txt:237 (FIND_PACKAGE)</b></div><div><b><br></b></div><div><b><br></b></div><div><b>Found GDAL: C:/OSGeo4W64/lib/gdal_i.lib (2.2.4)</b></div><div><b>Found Expat: C:/OSGeo4W64/lib/expat.lib</b></div><div><b>Found Spatialindex: C:/OSGeo4W64/lib/spatialindex-64.lib</b></div><div><b>CMake Error at cmake/FindQwt.cmake:47 (FILE):</b></div><div><b>  FILE failed to open for reading (No such file or directory):</b></div><div><b><br></b></div><div><b>    C:/OSGeo4W64/apps/Qt5/include/qwt_global.h</b></div><div><b>Call Stack (most recent call first):</b></div><div><b>  CMakeLists.txt:241 (FIND_PACKAGE)</b></div><div><b><br></b></div><div><b><br></b></div><div><b>Found Qwt: C:/OSGeo4W64/apps/Qt5/lib/qwt.lib ()</b></div><div><b>Found libzip: C:/OSGeo4W64/etc/setup/libzip-libs.lst.gz</b></div><div><b>Found Sqlite3: C:/OSGeo4W64/lib/sqlite3_i.lib</b></div><div><b>Found PostgreSQL: C:/OSGeo4W64/lib/libpq.lib</b></div><div><b>Found SpatiaLite: C:/OSGeo4W64/lib/spatialite_i.lib</b></div><div><b>Qt WebKit support enabled</b></div><div><b>Found Qt version: 5.9.2</b></div><div><b>Found QScintilla2: C:/OSGeo4W64/apps/Qt5/lib/qscintilla2.lib (2.10.1)</b></div><div><b>Found QtKeychain: C:/OSGeo4W64/apps/Qt5/lib/qt5keychain.lib</b></div><div><b>Found QCA: C:/OSGeo4W64/apps/Qt5/lib/qca-qt5.lib (2.1.0)</b></div><div><b>Pedantic compiler settings enabled</b></div><div><b>Found Python executable: C:/Users/Zane/AppData/Local/Programs/Python/Python36/python.exe</b></div><div><b>Found Python version: 3.6.5</b></div><div><b>Found Python library: C:/Users/Zane/AppData/Local/Programs/Python/Python36/libs/python36.lib</b></div><div><b>Found Python site-packages: C:/Users/Zane/AppData/Local/Programs/Python/Python36/Lib/site-packages</b></div><div><b>Traceback (most recent call last):</b></div><div><b>  File "Z:/GitHub/QGIS/cmake/FindPyQt5.py", line 34, in <module></b></div><div><b>    import PyQt5.pyqtconfig</b></div><div><b>ModuleNotFoundError: No module named 'PyQt5'</b></div><div><b><br></b></div><div><b>During handling of the above exception, another exception occurred:</b></div><div><b><br></b></div><div><b>Traceback (most recent call last):</b></div><div><b>  File "Z:/GitHub/QGIS/cmake/FindPyQt5.py", line 37, in <module></b></div><div><b>    import PyQt5.QtCore</b></div><div><b>ModuleNotFoundError: No module named 'PyQt5'</b></div><div><b><br></b></div><div><b>Traceback (most recent call last):</b></div><div><b>  File "Z:/GitHub/QGIS/cmake/FindSIP.py", line 33, in <module></b></div><div><b>    import sipconfig</b></div><div><b>ModuleNotFoundError: No module named 'sipconfig'</b></div><div><b><br></b></div><div><b>CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):</b></div><div><b>  Could not find SIP</b></div><div><b>Call Stack (most recent call first):</b></div><div><b>  CMakeLists.txt:711 (FIND_PACKAGE)</b></div><div><b><br></b></div><div><b><br></b></div><div><b>Configuring incomplete, errors occurred!</b></div><div><b>See also "Z:/GitHub/QGIS3_0_Build/CMakeFiles/CMakeOutput.log".</b></div><div><b>See also "Z:/GitHub/QGIS3_0_Build/CMakeFiles/CMakeError.log".</b></div></div><div><b><br></b></div><div><font color="#ff0000" size="4">Thanks for your help!</font></div><div><b><br></b></div></div>