<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Thanks. Indeed. After fixing some path issues, now hopefully the
    right tools are used. <br>
    <br>
    It still did not work with the installed sip 6.6.1 from PyPI, which
    leads to: sip-build: '13.2' is not a supported ABI version<br>
    <br>
    After installing sip from the repo, finally, 'The project has been
    built.' So far, so good.<br>
    <br>
    Now, the top level directory, however, does not contain a make file,
    so make fails. Running make in the build directory, fails with a
    linker error:<br>
    <br>
    PS C:\Installationen\PyQt6-6.3.0> cd build<br>
    PS C:\Installationen\PyQt6-6.3.0\build> make<br>
    cd designer\ && ( if not exist Makefile
    D:\Installationen\Qt\6.3.0\mingw_64\bin\qmake.exe -o Makefile
    C:\Installationen\PyQt6-6.3.0\build\designer\designer.pro )
    && D:/Installationen/Qt/Tools/mingw1120_64/bin/make -f
    Makefile<br>
    make[1]: Entering directory
    'C:/Installationen/PyQt6-6.3.0/build/designer'<br>
    D:/Installationen/Qt/Tools/mingw1120_64/bin/make -f Makefile.Release<br>
    make[2]: Entering directory
    'C:/Installationen/PyQt6-6.3.0/build/designer'<br>
    g++ -c -fno-keep-inline-dllexport -O2 -Wall -Wextra -Wextra
    -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32
    -DMINGW_HAS_SECURE_API=1 -DPYTHON_LIB=\"python3\" -DQT_NO_DEBUG
    -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB
    -DQT_OPENGLWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
    -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I.
    -I../../../Python310/Include -I../../designer
    -ID:/Installationen/Qt/6.3.0/mingw_64/include
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtDesigner
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtUiPlugin
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtOpenGLWidgets
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtWidgets
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtOpenGL
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtGui
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtXml
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtCore -Irelease
    -I/include -ID:/Installationen/Qt/6.3.0/mingw_64/mkspecs/win32-g++ 
    -o release\pluginloader.o ..\..\designer\pluginloader.cpp<br>
    g++ -fno-keep-inline-dllexport -O2 -Wall -Wextra -Wextra -dM -E -o
    release\moc_predefs.h
    D:\Installationen\Qt\6.3.0\mingw_64\mkspecs\features\data\dummy.cpp<br>
    D:\Installationen\Qt\6.3.0\mingw_64\bin\moc.exe -DUNICODE -D_UNICODE
    -DWIN32 -DMINGW_HAS_SECURE_API=1 -DPYTHON_LIB=\"python3\"
    -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB
    -DQT_OPENGLWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
    -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS --include
    C:/Installationen/PyQt6-6.3.0/build/designer/release/moc_predefs.h
    -ID:/Installationen/Qt/6.3.0/mingw_64/mkspecs/win32-g++
    -IC:/Installationen/PyQt6-6.3.0/build/designer
    -IC:/Installationen/Python310/Include
    -IC:/Installationen/PyQt6-6.3.0/designer
    -ID:/Installationen/Qt/6.3.0/mingw_64/include
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtDesigner
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtUiPlugin
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtOpenGLWidgets
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtWidgets
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtOpenGL
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtGui
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtXml
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtCore
-ID:/Installationen/Qt/Tools/mingw1120_64/lib/gcc/x86_64-w64-mingw32/11.2.0/include/c++
-ID:/Installationen/Qt/Tools/mingw1120_64/lib/gcc/x86_64-w64-mingw32/11.2.0/include/c++/x86_64-w64-mingw32
-ID:/Installationen/Qt/Tools/mingw1120_64/lib/gcc/x86_64-w64-mingw32/11.2.0/include/c++/backward
-ID:/Installationen/Qt/Tools/mingw1120_64/lib/gcc/x86_64-w64-mingw32/11.2.0/include
-ID:/Installationen/Qt/Tools/mingw1120_64/lib/gcc/x86_64-w64-mingw32/11.2.0/include-fixed
    -ID:/Installationen/Qt/Tools/mingw1120_64/x86_64-w64-mingw32/include
    ..\..\designer\pluginloader.h -o release\moc_pluginloader.cpp<br>
    g++ -c -fno-keep-inline-dllexport -O2 -Wall -Wextra -Wextra
    -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32
    -DMINGW_HAS_SECURE_API=1 -DPYTHON_LIB=\"python3\" -DQT_NO_DEBUG
    -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB
    -DQT_OPENGLWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
    -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I.
    -I../../../Python310/Include -I../../designer
    -ID:/Installationen/Qt/6.3.0/mingw_64/include
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtDesigner
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtUiPlugin
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtOpenGLWidgets
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtWidgets
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtOpenGL
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtGui
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtXml
    -ID:/Installationen/Qt/6.3.0/mingw_64/include/QtCore -Irelease
    -I/include -ID:/Installationen/Qt/6.3.0/mingw_64/mkspecs/win32-g++ 
    -o release\moc_pluginloader.o release\moc_pluginloader.cpp<br>
    g++ -Wl,-s -shared -Wl,-subsystem,windows -mthreads
    -Wl,--out-implib,release\libpyqt6.a -o release\pyqt6.dll
    release/pluginloader.o release/moc_pluginloader.o
    -LC:\Installationen\Python310\libs -lpython3
    D:\Installationen\Qt\6.3.0\mingw_64\lib\libQt6Designer.a
    D:\Installationen\Qt\6.3.0\mingw_64\lib\libQt6OpenGLWidgets.a
    D:\Installationen\Qt\6.3.0\mingw_64\lib\libQt6Widgets.a
    D:\Installationen\Qt\6.3.0\mingw_64\lib\libQt6OpenGL.a
    D:\Installationen\Qt\6.3.0\mingw_64\lib\libQt6Gui.a
    D:\Installationen\Qt\6.3.0\mingw_64\lib\libQt6Xml.a
    D:\Installationen\Qt\6.3.0\mingw_64\lib\libQt6Core.a<br>
D:/Installationen/Qt/Tools/mingw1120_64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
    release/pluginloader.o:pluginloader.c:(.text+0x149): undefined
    reference to `__imp_PyUnicode_FromKindAndData'<br>
    collect2.exe: error: ld returned 1 exit status<br>
    make[2]: *** [Makefile.Release:69: release/pyqt6.dll] Error 1<br>
    make[2]: Leaving directory
    'C:/Installationen/PyQt6-6.3.0/build/designer'<br>
    make[1]: *** [Makefile:45: release] Error 2<br>
    make[1]: Leaving directory
    'C:/Installationen/PyQt6-6.3.0/build/designer'<br>
    make: *** [Makefile:81: sub-designer-make_first-ordered] Error 2<br>
    PS C:\Installationen\PyQt6-6.3.0\build><br>
    <br>
    What is missing?<br>
    <br>
    Best regards,<br>
    Uli<br>
     <br>
    <br>
    <div class="moz-cite-prefix">Am 27.05.2022 um 23:56 schrieb Florian
      Bruhin:<br>
    </div>
    <blockquote type="cite"
      cite="mid:98E41B10-DABC-4349-9F9B-0A5805673657@the-compiler.org">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Running with --verbose should tell you more.<br>
      <br>
      Florian <br>
      <br>
      <div class="gmail_quote">On 27 May 2022 23:28:41 CEST, Belz Ulrich
        <a class="moz-txt-link-rfc2396E"
          href="mailto:ulbemu@mnet-online.de"><ulbemu@mnet-online.de></a>
        wrote:
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <pre dir="auto" class="k9mail">Hello,

Following the documentation, I am trying to build PyQt6 from source (to enable qml debug):

PS C:\PyQt6-6.3.0> sip-build --no-make --qml-debug --confirm-license
Querying qmake about your Qt installation...
This is the GPL version of PyQt 6.3.0 (licensed under the GNU General Public License) for Python 3.10.4 on win32.
Found the license file 'pyqt-gpl.sip'.
Checking to see if the QtCore bindings can be built...
Checking to see if the QtNetwork bindings can be built...
Checking to see if the QtGui bindings can be built...
Checking to see if the QtQml bindings can be built...
Checking to see if the QtWidgets bindings can be built...
Checking to see if the QtDBus bindings can be built...
The QtDesigner bindings are disabled with a static Qt installation...
Checking to see if the QtHelp bindings can be built...
...
Checking to see if the QAxContainer bindings can be built...
sip-build: There are no bindings that can be built
PS C:\PyQt6-6.3.0> make
make: *** No targets specified and no makefile found.  Stop.
PS C:\PyQt6-6.3.0>

What's wrong?

Best regards,
Uli
</pre>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>