Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unable to build QtHttpServer project.
Qt 6.11 is out! See what's new in the release blog

Unable to build QtHttpServer project.

Scheduled Pinned Locked Moved Solved General and Desktop
58 Posts 5 Posters 8.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #29

    On Linux if you have that issue, it means that you are likely building with your distribution provided Qt without having installed the corresponding private dev packages.

    What version of Perl did you install on Windows ?
    Did you check in the build output, in the first lines that follows your make equivalent call that the call to syncqt.pl succeeded ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    R 2 Replies Last reply
    0
    • SGaistS SGaist

      On Linux if you have that issue, it means that you are likely building with your distribution provided Qt without having installed the corresponding private dev packages.

      What version of Perl did you install on Windows ?
      Did you check in the build output, in the first lines that follows your make equivalent call that the call to syncqt.pl succeeded ?

      R Offline
      R Offline
      R_cts
      wrote on last edited by
      #30

      @SGaist No there is no such lines. Below is the complete result of compile output:-
      cd src\ && ( if not exist Makefile C:\Qt\5.15.1\mingw81_64\bin\qmake.exe -o Makefile C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\src.pro -spec win32-g++ "CONFIG+=debug" "CONFIG-=qml_debug" ) && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile
      mingw32-make[1]: Entering directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src'
      cd sslserver\ && ( if not exist Makefile C:\Qt\5.15.1\mingw81_64\bin\qmake.exe -o Makefile C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\sslserver\sslserver.pro -spec win32-g++ "CONFIG+=debug" "CONFIG-=qml_debug" ) && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile
      mingw32-make[2]: Entering directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/sslserver'
      C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile.Debug
      mingw32-make[3]: Entering directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/sslserver'
      mingw32-make[3]: Nothing to be done for 'first'.
      mingw32-make[3]: Leaving directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/sslserver'
      mingw32-make[2]: Leaving directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/sslserver'
      cd httpserver\ && ( if not exist Makefile C:\Qt\5.15.1\mingw81_64\bin\qmake.exe -o Makefile C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver\httpserver.pro -spec win32-g++ "CONFIG+=debug" "CONFIG-=qml_debug" ) && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile
      mingw32-make[2]: Entering directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/httpserver'
      C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile.Debug
      mingw32-make[3]: Entering directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/httpserver'
      g++ -c -fno-keep-inline-dllexport -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_HTTPSERVER_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_SSLSERVER_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver -I. -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\3rdparty\http-parser -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include -IC:\Qt\5.15.1\mingw81_64\include -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer -IC:\Qt\5.15.1\mingw81_64\include\QtHttpServer -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer/5.12.0 -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer/5.12.0/QtHttpServer -Itmp -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtSslServer -I....\include -I....\include\QtSslServer -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets\5.15.1 -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets\5.15.1\QtWebSockets -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets -IC:\Qt\5.15.1\mingw81_64\include\QtNetwork -IC:\Qt\5.15.1\mingw81_64\include\QtCore\5.15.1 -IC:\Qt\5.15.1\mingw81_64\include\QtCore\5.15.1\QtCore -IC:\Qt\5.15.1\mingw81_64\include\QtConcurrent -IC:\Qt\5.15.1\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.1\mingw81_64\mkspecs\win32-g++ -o .obj\debug\qabstracthttpserver.o C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver\qabstracthttpserver.cpp
      g++ -c -fno-keep-inline-dllexport -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_HTTPSERVER_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_SSLSERVER_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver -I. -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\3rdparty\http-parser -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include -IC:\Qt\5.15.1\mingw81_64\include -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer -IC:\Qt\5.15.1\mingw81_64\include\QtHttpServer -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer/5.12.0 -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer/5.12.0/QtHttpServer -Itmp -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtSslServer -I....\include -I....\include\QtSslServer -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets\5.15.1 -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets\5.15.1\QtWebSockets -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets -IC:\Qt\5.15.1\mingw81_64\include\QtNetwork -IC:\Qt\5.15.1\mingw81_64\include\QtCore\5.15.1 -IC:\Qt\5.15.1\mingw81_64\include\QtCore\5.15.1\QtCore -IC:\Qt\5.15.1\mingw81_64\include\QtConcurrent -IC:\Qt\5.15.1\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.1\mingw81_64\mkspecs\win32-g++ -o .obj\debug\qhttpserver.o C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver\qhttpserver.cpp
      g++ -c -fno-keep-inline-dllexport -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_HTTPSERVER_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_SSLSERVER_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver -I. -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver -IC:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\3rdparty\http-parser -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include -IC:\Qt\5.15.1\mingw81_64\include -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer -IC:\Qt\5.15.1\mingw81_64\include\QtHttpServer -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer/5.12.0 -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtHttpServer/5.12.0/QtHttpServer -Itmp -IC:/Users/ServerAdmin/Documents/rd_dev/QTHttpServer/include/QtSslServer -I....\include -I....\include\QtSslServer -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets\5.15.1 -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets\5.15.1\QtWebSockets -IC:\Qt\5.15.1\mingw81_64\include\QtWebSockets -IC:\Qt\5.15.1\mingw81_64\include\QtNetwork -IC:\Qt\5.15.1\mingw81_64\include\QtCore\5.15.1 -IC:\Qt\5.15.1\mingw81_64\include\QtCore\5.15.1\QtCore -IC:\Qt\5.15.1\mingw81_64\include\QtConcurrent -IC:\Qt\5.15.1\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.1\mingw81_64\mkspecs\win32-g++ -o .obj\debug\qhttpserverrequest.o C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver\qhttpserverrequest.cpp
      C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver\qabstracthttpserver.cpp:38:10: fatal error: private/qabstracthttpserver_p.h: No such file or directory
      #include "private/qabstracthttpserver_p.h"
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      mingw32-make[3]: *** [Makefile.Debug:796: .obj/debug/qabstracthttpserver.o] Error 1
      mingw32-make[3]: *** Waiting for unfinished jobs....
      C:\Users\ServerAdmin\Documents\rd_dev\QTHttpServer\src\httpserver\qhttpserver.cpp:39:10: fatal error: private/qhttpserver_p.h: No such file or directory
      #include <private/qhttpserver_p.h>
      ^~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      mingw32-make[3]: *** [Makefile.Debug:897: .obj/debug/qhttpserver.o] Error 1
      mingw32-make[3]: Leaving directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/httpserver'
      mingw32-make[2]: *** [Makefile:45: debug] Error 2
      mingw32-make[2]: Leaving directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src/httpserver'
      mingw32-make[1]: *** [Makefile:76: sub-httpserver-make_first] Error 2
      mingw32-make[1]: Leaving directory 'C:/Users/ServerAdmin/Documents/rd_dev/build-qthttpserver-Desktop_Qt_5_15_1_MinGW_64_bit-Debug/src'
      mingw32-make: *** [Makefile:52: sub-src-make_first] Error 2
      04:47:57: The process "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
      Error while building/deploying project qthttpserver (kit: Desktop Qt 5.15.1 MinGW 64-bit)
      When executing step "Make"
      04:47:57: Elapsed time: 00:14.

      1 Reply Last reply
      0
      • SGaistS SGaist

        On Linux if you have that issue, it means that you are likely building with your distribution provided Qt without having installed the corresponding private dev packages.

        What version of Perl did you install on Windows ?
        Did you check in the build output, in the first lines that follows your make equivalent call that the call to syncqt.pl succeeded ?

        R Offline
        R Offline
        R_cts
        wrote on last edited by
        #31

        @SGaist Perl version is 5.28.1

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #32

          Which distribution ? The one recommended by Qt ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          R 1 Reply Last reply
          0
          • SGaistS SGaist

            Which distribution ? The one recommended by Qt ?

            R Offline
            R Offline
            R_cts
            wrote on last edited by
            #33

            @SGaist I dont know it was already installed in the system

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #34

              Then you should search for the information.
              You should also consider building the module on the command line rather that Qt Creator just to see if you have a different output.
              Did you also initialise the submodule used by QtHttpServer ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              R 2 Replies Last reply
              0
              • SGaistS SGaist

                Then you should search for the information.
                You should also consider building the module on the command line rather that Qt Creator just to see if you have a different output.
                Did you also initialise the submodule used by QtHttpServer ?

                R Offline
                R Offline
                R_cts
                wrote on last edited by
                #35

                @SGaist I have tried in command prompt , i am getting the same error.
                I apologize for asking this question , but I am working on separate module for the first time. How can I initialize sub modules ?

                R SGaistS 2 Replies Last reply
                0
                • R R_cts

                  @SGaist I have tried in command prompt , i am getting the same error.
                  I apologize for asking this question , but I am working on separate module for the first time. How can I initialize sub modules ?

                  R Offline
                  R Offline
                  R_cts
                  wrote on last edited by
                  #36

                  @R_cts <language license="LGPLv2" author="Anders Lund (anders@alweb.dk)" priority="5" mimetype="application/x-perl;text/x-perl" extensions=".pl;.PL;*.pm" section="Scripts" kateversion="2.4" version="11" name="Perl"> this is the detail in the path "C:\Qt\Tools\QtCreator\share\qtcreator\generic-highlighter\syntax\perl.xml"

                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Then you should search for the information.
                    You should also consider building the module on the command line rather that Qt Creator just to see if you have a different output.
                    Did you also initialise the submodule used by QtHttpServer ?

                    R Offline
                    R Offline
                    R_cts
                    wrote on last edited by
                    #37

                    @SGaist <language license="LGPLv2" author="Anders Lund (anders@alweb.dk)" priority="5" mimetype="application/x-perl;text/x-perl" extensions=".pl;.PL;*.pm" section="Scripts" kateversion="2.4" version="11" name="Perl"> this is the detail in the path "C:\Qt\Tools\QtCreator\share\qtcreator\generic-highlighter\syntax\perl.xml"

                    1 Reply Last reply
                    0
                    • R R_cts

                      @SGaist I have tried in command prompt , i am getting the same error.
                      I apologize for asking this question , but I am working on separate module for the first time. How can I initialize sub modules ?

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #38

                      @R_cts said in Unable to build QtHttpServer project.:

                      @SGaist I have tried in command prompt , i am getting the same error.
                      I apologize for asking this question , but I am working on separate module for the first time. How can I initialize sub modules ?

                      git submodule update --init
                      

                      @R_cts said in Unable to build QtHttpServer project.:

                      @SGaist <language license="LGPLv2" author="Anders Lund (anders@alweb.dk)" priority="5" mimetype="application/x-perl;text/x-perl" extensions=".pl;.PL;*.pm" section="Scripts" kateversion="2.4" version="11" name="Perl"> this is the detail in the path "C:\Qt\Tools\QtCreator\share\qtcreator\generic-highlighter\syntax\perl.xml"

                      You are showing the details of the syntax highlighter from a Qt Creator. That's not what I have asked for.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      R 2 Replies Last reply
                      1
                      • SGaistS SGaist

                        @R_cts said in Unable to build QtHttpServer project.:

                        @SGaist I have tried in command prompt , i am getting the same error.
                        I apologize for asking this question , but I am working on separate module for the first time. How can I initialize sub modules ?

                        git submodule update --init
                        

                        @R_cts said in Unable to build QtHttpServer project.:

                        @SGaist <language license="LGPLv2" author="Anders Lund (anders@alweb.dk)" priority="5" mimetype="application/x-perl;text/x-perl" extensions=".pl;.PL;*.pm" section="Scripts" kateversion="2.4" version="11" name="Perl"> this is the detail in the path "C:\Qt\Tools\QtCreator\share\qtcreator\generic-highlighter\syntax\perl.xml"

                        You are showing the details of the syntax highlighter from a Qt Creator. That's not what I have asked for.

                        R Offline
                        R Offline
                        R_cts
                        wrote on last edited by
                        #39

                        @SGaist Thankyou for the git command , now it is compiling but Not executing. In application output i am getting the error ........even though I have tried to execute the application by running Qt as administrator
                        "
                        01:49:09: Starting C:\Users\ServerAdmin\build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\examples\httpserver\simple\debug\simple.exe ...
                        01:49:09: Failed to start program. Path or permissions wrong?
                        01:49:09: C:\Users\ServerAdmin\build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\examples\httpserver\simple\debug\simple.exe exited with code -1
                        01:49:09: The process failed to start. Either the invoked program "C:\Users\ServerAdmin\build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\examples\httpserver\simple\debug\simple.exe" is missing, or you may have insufficient permissions to invoke the program.
                        "

                        1 Reply Last reply
                        0
                        • SGaistS SGaist

                          @R_cts said in Unable to build QtHttpServer project.:

                          @SGaist I have tried in command prompt , i am getting the same error.
                          I apologize for asking this question , but I am working on separate module for the first time. How can I initialize sub modules ?

                          git submodule update --init
                          

                          @R_cts said in Unable to build QtHttpServer project.:

                          @SGaist <language license="LGPLv2" author="Anders Lund (anders@alweb.dk)" priority="5" mimetype="application/x-perl;text/x-perl" extensions=".pl;.PL;*.pm" section="Scripts" kateversion="2.4" version="11" name="Perl"> this is the detail in the path "C:\Qt\Tools\QtCreator\share\qtcreator\generic-highlighter\syntax\perl.xml"

                          You are showing the details of the syntax highlighter from a Qt Creator. That's not what I have asked for.

                          R Offline
                          R Offline
                          R_cts
                          wrote on last edited by
                          #40

                          @SGaist While compiling , why it is not making simple.exe.......Below are the compile output
                          "
                          cd simple\ && C:\Qt\5.15.2\mingw81_32\bin\qmake.exe -o Makefile C:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple\simple.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
                          cd simple\ && C:/Qt/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
                          mingw32-make[3]: Entering directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples/httpserver/simple'
                          mingw32-make[3]: Nothing to be done for 'qmake_all'.
                          mingw32-make[3]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples/httpserver/simple'
                          mingw32-make[2]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples/httpserver'
                          mingw32-make[1]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples'
                          cd tests\ && C:\Qt\5.15.2\mingw81_32\bin\qmake.exe -o Makefile C:\Users\ServerAdmin\qthttpserver\tests\tests.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
                          "

                          jsulmJ 1 Reply Last reply
                          0
                          • R R_cts

                            @SGaist While compiling , why it is not making simple.exe.......Below are the compile output
                            "
                            cd simple\ && C:\Qt\5.15.2\mingw81_32\bin\qmake.exe -o Makefile C:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple\simple.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
                            cd simple\ && C:/Qt/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
                            mingw32-make[3]: Entering directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples/httpserver/simple'
                            mingw32-make[3]: Nothing to be done for 'qmake_all'.
                            mingw32-make[3]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples/httpserver/simple'
                            mingw32-make[2]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples/httpserver'
                            mingw32-make[1]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_32_bit-Debug/examples'
                            cd tests\ && C:\Qt\5.15.2\mingw81_32\bin\qmake.exe -o Makefile C:\Users\ServerAdmin\qthttpserver\tests\tests.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
                            "

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #41

                            @R_cts said in Unable to build QtHttpServer project.:

                            While compiling , why it is not making simple.exe

                            Is this the whole output? Because I only see that qmake was called, but the actual build was not started - hence no executable. Try a clean build: delete build folder and rebuild.

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            R 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @R_cts said in Unable to build QtHttpServer project.:

                              While compiling , why it is not making simple.exe

                              Is this the whole output? Because I only see that qmake was called, but the actual build was not started - hence no executable. Try a clean build: delete build folder and rebuild.

                              R Offline
                              R Offline
                              R_cts
                              wrote on last edited by
                              #42

                              @jsulm I have pasted only a portion of it, I have deleted the build folder as well as pro.user file, still getting the same error.

                              jsulmJ 1 Reply Last reply
                              0
                              • R R_cts

                                @jsulm I have pasted only a portion of it, I have deleted the build folder as well as pro.user file, still getting the same error.

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #43

                                @R_cts What error? Please post full output - how else can anybody say why the binary is not created?

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                R 2 Replies Last reply
                                0
                                • jsulmJ jsulm

                                  @R_cts What error? Please post full output - how else can anybody say why the binary is not created?

                                  R Offline
                                  R Offline
                                  R_cts
                                  wrote on last edited by
                                  #44

                                  @jsulm Unable to post or add image for FULL Compile Output.

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • R R_cts

                                    @jsulm Unable to post or add image for FULL Compile Output.

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #45

                                    @R_cts Then please search for error messages in the compile log and post those...

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @R_cts What error? Please post full output - how else can anybody say why the binary is not created?

                                      R Offline
                                      R Offline
                                      R_cts
                                      wrote on last edited by
                                      #46

                                      @jsulm
                                      04:28:32: Starting: "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -j8
                                      C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile.Debug
                                      mingw32-make[1]: Entering directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/httpserver/simple'
                                      g++ -c -fno-keep-inline-dllexport -g -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_HTTPSERVER_LIB -DQT_SSLSERVER_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -IC:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple -I. -I......\include -I......\include\QtHttpServer -I......\include\QtSslServer -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtWebSockets -IC:\Qt\5.15.2\mingw81_64\include\QtNetwork -IC:\Qt\5.15.2\mingw81_64\include\QtConcurrent -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++ -o .obj\debug\main.o C:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple\main.cpp
                                      C:\Qt\5.15.2\mingw81_64\bin\rcc.exe -name assets C:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple\assets.qrc -o .rcc\debug\qrc_assets.cpp
                                      g++ -c -fno-keep-inline-dllexport -g -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_HTTPSERVER_LIB -DQT_SSLSERVER_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -IC:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple -I. -I......\include -I......\include\QtHttpServer -I......\include\QtSslServer -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtWebSockets -IC:\Qt\5.15.2\mingw81_64\include\QtNetwork -IC:\Qt\5.15.2\mingw81_64\include\QtConcurrent -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++ -o .obj\debug\qrc_assets.o .rcc\debug\qrc_assets.cpp
                                      g++ -Wl,-subsystem,console -s -o debug\simple.exe .obj/debug/main.o .obj/debug/qrc_assets.o -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.7.25-winx64\lib -LC:\Utils\postgresql\pgsql\lib C:\Users\ServerAdmin\build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\lib\libQt5HttpServer.a C:\Users\ServerAdmin\build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\lib\libQt5SslServer.a C:\Qt\5.15.2\mingw81_64\lib\libQt5WebSockets.a C:\Qt\5.15.2\mingw81_64\lib\libQt5Network.a C:\Qt\5.15.2\mingw81_64\lib\libQt5Concurrent.a C:\Qt\5.15.2\mingw81_64\lib\libQt5Core.a
                                      mingw32-make[1]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/httpserver/simple'
                                      04:28:44: The process "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited normally.

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • R R_cts

                                        @jsulm
                                        04:28:32: Starting: "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -j8
                                        C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile.Debug
                                        mingw32-make[1]: Entering directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/httpserver/simple'
                                        g++ -c -fno-keep-inline-dllexport -g -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_HTTPSERVER_LIB -DQT_SSLSERVER_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -IC:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple -I. -I......\include -I......\include\QtHttpServer -I......\include\QtSslServer -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtWebSockets -IC:\Qt\5.15.2\mingw81_64\include\QtNetwork -IC:\Qt\5.15.2\mingw81_64\include\QtConcurrent -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++ -o .obj\debug\main.o C:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple\main.cpp
                                        C:\Qt\5.15.2\mingw81_64\bin\rcc.exe -name assets C:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple\assets.qrc -o .rcc\debug\qrc_assets.cpp
                                        g++ -c -fno-keep-inline-dllexport -g -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_HTTPSERVER_LIB -DQT_SSLSERVER_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -IC:\Users\ServerAdmin\qthttpserver\examples\httpserver\simple -I. -I......\include -I......\include\QtHttpServer -I......\include\QtSslServer -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtWebSockets -IC:\Qt\5.15.2\mingw81_64\include\QtNetwork -IC:\Qt\5.15.2\mingw81_64\include\QtConcurrent -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++ -o .obj\debug\qrc_assets.o .rcc\debug\qrc_assets.cpp
                                        g++ -Wl,-subsystem,console -s -o debug\simple.exe .obj/debug/main.o .obj/debug/qrc_assets.o -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.7.25-winx64\lib -LC:\Utils\postgresql\pgsql\lib C:\Users\ServerAdmin\build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\lib\libQt5HttpServer.a C:\Users\ServerAdmin\build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\lib\libQt5SslServer.a C:\Qt\5.15.2\mingw81_64\lib\libQt5WebSockets.a C:\Qt\5.15.2\mingw81_64\lib\libQt5Network.a C:\Qt\5.15.2\mingw81_64\lib\libQt5Concurrent.a C:\Qt\5.15.2\mingw81_64\lib\libQt5Core.a
                                        mingw32-make[1]: Leaving directory 'C:/Users/ServerAdmin/build-qthttpserver-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/httpserver/simple'
                                        04:28:44: The process "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited normally.

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #47

                                        @R_cts said in Unable to build QtHttpServer project.:

                                        -o debug\simple.exe

                                        Looks good, there should be simple.exe inside debug directory

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        R 1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          @R_cts said in Unable to build QtHttpServer project.:

                                          -o debug\simple.exe

                                          Looks good, there should be simple.exe inside debug directory

                                          R Offline
                                          R Offline
                                          R_cts
                                          wrote on last edited by
                                          #48

                                          @jsulm No debug folder is empty

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved