Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112522

Webengine Widgets Client Certificate Example: Compilation Fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2.8, 6.2.9
    • 6.2.8
    • Examples and Demos
    • None
    • Linux/X11, macOS, Windows
    • 7a1358433 (tqtc/lts-6.2.8), 00d1ed101 (tqtc/lts-6.2.9)

    Description

      Compilation fails on Webengine Widgets Client Certificate Example on Mac and Linux.

       

      Steps to reproduce:

      1. Run the Webengine Widgets Client Certificate example
      2. Compilation fails

       

      Compiler Output: 

      14:28:03: Running steps for project clientcertificate...
      14:28:03: Configuration unchanged, skipping qmake step.
      14:28:03: Starting: "/usr/bin/make" -j8
      ( test -e Makefile.client || /home/anurup/Qt/6.2.8/gcc_64/bin/qmake -o Makefile.client /home/anurup/Qt/Examples/Qt-6.2.8/webenginewidgets/clientcertificate/client.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile.client 
      ( test -e Makefile.server || /home/anurup/Qt/6.2.8/gcc_64/bin/qmake -o Makefile.server /home/anurup/Qt/Examples/Qt-6.2.8/webenginewidgets/clientcertificate/server.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile.server 
      make[1]: Entering directory '/home/anurup/Qt/Examples/Qt-6.2.8/webenginewidgets/build-clientcertificate-Desktop_Qt_6_2_8_GCC_64bit-Debug'
      g++ -c -pipe -g -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../clientcertificate -I. -I../../../../6.2.8/gcc_64/include -I../../../../6.2.8/gcc_64/include/QtGui -I../../../../6.2.8/gcc_64/include/QtNetwork -I../../../../6.2.8/gcc_64/include/QtCore -I. -I../../../../6.2.8/gcc_64/mkspecs/linux-g++ -o server.o ../clientcertificate/server.cpp
      make[1]: Entering directory '/home/anurup/Qt/Examples/Qt-6.2.8/webenginewidgets/build-clientcertificate-Desktop_Qt_6_2_8_GCC_64bit-Debug'
      make[1]: Nothing to be done for 'first'.
      make[1]: Leaving directory '/home/anurup/Qt/Examples/Qt-6.2.8/webenginewidgets/build-clientcertificate-Desktop_Qt_6_2_8_GCC_64bit-Debug'
      ../clientcertificate/server.cpp:10:10: fatal error: QtNetwork/qsslserver.h: No such file or directory
         10 | #include <QtNetwork/qsslserver.h>
            |          ^~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[1]: Leaving directory '/home/anurup/Qt/Examples/Qt-6.2.8/webenginewidgets/build-clientcertificate-Desktop_Qt_6_2_8_GCC_64bit-Debug'
      make[1]: *** [Makefile.server:1054: server.o] Error 1
      make: *** [Makefile:62: sub-server-pro-make_first] Error 2
      14:28:03: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project clientcertificate (kit: Desktop Qt 6.2.8 GCC 64bit)
      When executing step "Make"
      14:28:03: Elapsed time: 00:00.
       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-112522
          # Subject Branch Project Status CR V

          Activity

            People

              mibrunin Michael Bruning
              anjalota Anurup Jalota
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change