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 9.4k 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.
  • R R_cts

    @SGaist Yes

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

    @R_cts Do i need to install QT and open ssl again?

    1 Reply Last reply
    0
    • R R_cts

      @SGaist mkspecs/modules-inst/qt_lib_httpserver.pri
      mkspecs/modules-inst/qt_lib_httpserver_private.pri
      mkspecs/modules/qt_lib_httpserver.pri
      mkspecs/modules-inst/qt_lib_sslserver.pri
      mkspecs/modules-inst/qt_lib_sslserver_private.pri
      mkspecs/modules/qt_lib_sslserver.pri
      Can above lines from Makefile be a problem.......as they don't have path with in C drive???

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

      @R_cts said in Unable to build QtHttpServer project.:

      @SGaist mkspecs/modules-inst/qt_lib_httpserver.pri
      mkspecs/modules-inst/qt_lib_httpserver_private.pri
      mkspecs/modules/qt_lib_httpserver.pri
      mkspecs/modules-inst/qt_lib_sslserver.pri
      mkspecs/modules-inst/qt_lib_sslserver_private.pri
      mkspecs/modules/qt_lib_sslserver.pri
      Can above lines from Makefile be a problem.......as they don't have path with in C drive???

      I do not understand what you are asking with regard to these files since they are relative paths.

      How are they related to the issue at hand ?

      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

        @R_cts said in Unable to build QtHttpServer project.:

        @SGaist mkspecs/modules-inst/qt_lib_httpserver.pri
        mkspecs/modules-inst/qt_lib_httpserver_private.pri
        mkspecs/modules/qt_lib_httpserver.pri
        mkspecs/modules-inst/qt_lib_sslserver.pri
        mkspecs/modules-inst/qt_lib_sslserver_private.pri
        mkspecs/modules/qt_lib_sslserver.pri
        Can above lines from Makefile be a problem.......as they don't have path with in C drive???

        I do not understand what you are asking with regard to these files since they are relative paths.

        How are they related to the issue at hand ?

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

        @SGaist 23:05:34: Starting C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe ...
        23:05:34: Failed to start program. Path or permissions wrong?
        23:05:34: C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe exited with code -1
        23:05:34: The process failed to start. Either the invoked program "C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe" is missing, or you may have insufficient permissions to invoke the program.

        Now i am getting this error.

        jsulmJ 1 Reply Last reply
        0
        • R R_cts

          @SGaist 23:05:34: Starting C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe ...
          23:05:34: Failed to start program. Path or permissions wrong?
          23:05:34: C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe exited with code -1
          23:05:34: The process failed to start. Either the invoked program "C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe" is missing, or you may have insufficient permissions to invoke the program.

          Now i am getting this error.

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

          @R_cts said in Unable to build QtHttpServer project.:

          C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe

          So, does this file exist?

          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.:

            C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug\tst_qhttpserver.exe

            So, does this file exist?

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

            @jsulm No, C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug......this folder is empty, i have checked the permission also, I have full control in "rd_dev" folder

            jsulmJ 1 Reply Last reply
            0
            • R R_cts

              @jsulm No, C:\Users\ServerAdmin\Documents\rd_dev\build-qthttpserver-Desktop_Qt_5_15_1_MinGW_32_bit-Debug\tests\auto\qhttpserver\debug......this folder is empty, i have checked the permission also, I have full control in "rd_dev" folder

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

              @R_cts Did you build your app? If the executable is not there then you did not.

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

              R 1 Reply Last reply
              0
              • jsulmJ jsulm

                @R_cts Did you build your app? If the executable is not there then you did not.

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

                @jsulm That is my issue actually , I am unable to build this project
                Right now I am getting the following error
                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
                23:48:35: 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"

                jsulmJ 1 Reply Last reply
                0
                • R R_cts

                  @jsulm That is my issue actually , I am unable to build this project
                  Right now I am getting the following error
                  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
                  23:48:35: 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"

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

                  @R_cts Did you do what @Christian-Ehrlicher suggested?

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

                  R 2 Replies Last reply
                  0
                  • jsulmJ jsulm

                    @R_cts Did you do what @Christian-Ehrlicher suggested?

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

                    @jsulm yes

                    1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @R_cts Did you do what @Christian-Ehrlicher suggested?

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

                      @jsulm I am compiling " https://github.com/qt-labs/qthttpserver" this project without adding adding anything . Do i need to install anything?
                      I have set environmental path as "C:\Qt\5.15.1\mingw81_64\bin;C:\Qt\Tools\mingw810_64\bin;C:\Perl64\bin;C:\Users\ServerAdmin\AppData\Roaming\ActiveState\bin;C:\Program Files (x86)\Parallels\Plesk\Additional\Python\Scripts;C:\Program Files (x86)\Parallels\Plesk\Additional\Python;C:\PROGRA~2\PARALL~1\Plesk\ADDITI~1\Perl\site\bin;C:\PROGRA~2\PARALL~1\Plesk\ADDITI~1\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;C:\Program Files\CMake\bin;C:\Qt\Tools\mingw810_64\opt\bin;C:\Program Files\OpenSSL-Win64\bin"

                      jsulmJ 1 Reply Last reply
                      0
                      • R R_cts

                        @jsulm I am compiling " https://github.com/qt-labs/qthttpserver" this project without adding adding anything . Do i need to install anything?
                        I have set environmental path as "C:\Qt\5.15.1\mingw81_64\bin;C:\Qt\Tools\mingw810_64\bin;C:\Perl64\bin;C:\Users\ServerAdmin\AppData\Roaming\ActiveState\bin;C:\Program Files (x86)\Parallels\Plesk\Additional\Python\Scripts;C:\Program Files (x86)\Parallels\Plesk\Additional\Python;C:\PROGRA~2\PARALL~1\Plesk\ADDITI~1\Perl\site\bin;C:\PROGRA~2\PARALL~1\Plesk\ADDITI~1\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;C:\Program Files\CMake\bin;C:\Qt\Tools\mingw810_64\opt\bin;C:\Program Files\OpenSSL-Win64\bin"

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

                        @R_cts said in Unable to build QtHttpServer project.:

                        I have set environmental path as

                        Why? There is no need to add anything Qt related to PATH

                        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.:

                          I have set environmental path as

                          Why? There is no need to add anything Qt related to PATH

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

                          @jsulm After installing QT , above environmental variables are system environmental variables.

                          jsulmJ 1 Reply Last reply
                          0
                          • R R_cts

                            @jsulm After installing QT , above environmental variables are system environmental variables.

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

                            @R_cts Not if using official Qt installer

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

                            R 2 Replies Last reply
                            0
                            • jsulmJ jsulm

                              @R_cts Not if using official Qt installer

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

                              @jsulm I am using commercial version of Qt 5.15.

                              1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @R_cts Not if using official Qt installer

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

                                @jsulm I have downloaded this project and tried to build it on linux system, in that system also i am getting the same error.

                                1 Reply Last reply
                                0
                                • 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

                                          • Login

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