Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Qt webkit error while trying to build
QtWS25 Last Chance

Qt webkit error while trying to build

Scheduled Pinned Locked Moved Unsolved Qt WebKit
22 Posts 4 Posters 9.0k Views
  • 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.
  • C Offline
    C Offline
    cscibiorek
    wrote on last edited by A Former User
    #1

    hi,

    I have QT 5.8 30 days trial license.

    One colleague has given to me software developped in QT but very old version. He has bought it like 7 years ago.

    The project is opening on my PC but when Im trying to built it I have error regarding WebKit.

    Do You think that I can eliminate it and modify this application in easy way?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #2

      Hi! Webkit isn't part of our framework anymore. But if you search the forum, you might find help on how to build it on your own. You said the program you received is about 7 years old. So I assume it uses Qt 4.7. Shouldn't be too hard to port it to 5.8.

      S 1 Reply Last reply
      0
      • C Offline
        C Offline
        cscibiorek
        wrote on last edited by
        #3

        hello, thank You ;)

        Im really begginer to QT.

        Can You please show me proper thread on forum, please?

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Sure: https://forum.qt.io/topic/70572. But I've never used Qt Webkit, so I can't provide any detailed info myself. I think the hero to talk to is @Konstantin-Tokarev.

          1 Reply Last reply
          1
          • C Offline
            C Offline
            cscibiorek
            wrote on last edited by
            #5

            thanks bro.

            The best for me will be NOT to change anything in ,,old" sowtware - only add some lines of code, compile and run.
            Konstantin was writing in one post that there is a possibility to download some zip files for qt 5.8

            Am I right that this is a kind of ,,package" and it allow my Qt5.8 to build ,,old" webkit?

            K 1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Am I right that this is a kind of ,,package" and it allow my Qt5.8 to build ,,old" webkit?

              Don't know, sorry. Just ask him :)

              1 Reply Last reply
              0
              • C cscibiorek

                thanks bro.

                The best for me will be NOT to change anything in ,,old" sowtware - only add some lines of code, compile and run.
                Konstantin was writing in one post that there is a possibility to download some zip files for qt 5.8

                Am I right that this is a kind of ,,package" and it allow my Qt5.8 to build ,,old" webkit?

                K Offline
                K Offline
                Konstantin Tokarev
                wrote on last edited by
                #7

                @cscibiorek said in Qt webkit error while trying to build:

                Konstantin was writing in one post that there is a possibility to download some zip files for qt 5.8

                You can download QtWebKit compatible with 5.8.0 at https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5, so you don't have to build it if you are using official Qt binaries.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cscibiorek
                  wrote on last edited by
                  #8

                  ok so I will download qtwebkit-tp5-qt58-msvc2015-x64.zip an unzip it.

                  Where to put theese files? How to check if I did all correctly?

                  K 1 Reply Last reply
                  0
                  • C cscibiorek

                    ok so I will download qtwebkit-tp5-qt58-msvc2015-x64.zip an unzip it.

                    Where to put theese files? How to check if I did all correctly?

                    K Offline
                    K Offline
                    Konstantin Tokarev
                    wrote on last edited by
                    #9

                    @cscibiorek put contents of "include" into "include" and so on

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      cscibiorek
                      wrote on last edited by cscibiorek
                      #10

                      unfirtunatelly I dont have PC with QT with me, but it will be only copy/paste from unzipped file to the same folders and my apliccation will no longer show me warning about webkit?
                      (As I told before Im making a modification - Im adding a datalogging. My boss will is NOT to change any existing functionality)

                      K 1 Reply Last reply
                      0
                      • C cscibiorek

                        unfirtunatelly I dont have PC with QT with me, but it will be only copy/paste from unzipped file to the same folders and my apliccation will no longer show me warning about webkit?
                        (As I told before Im making a modification - Im adding a datalogging. My boss will is NOT to change any existing functionality)

                        K Offline
                        K Offline
                        Konstantin Tokarev
                        wrote on last edited by
                        #11

                        @cscibiorek It's a drop-in replacement, no modifications in your code will be needed

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          cscibiorek
                          wrote on last edited by
                          #12

                          I downloaded qtwebkit-tp5-qt58-msvc2015-x86 unzipped and copied files to my QT

                          My diagnostics error after trying to run application:
                          Cannot find file: C:\Users\scibic\Desktop\CEZARY\Montaż\Opel Insignia\PC\GM\SapaGM\SapaGM.pro.
                          17:31:54: Proces "C:\Qt\5.8\mingw53_32\bin\qmake.exe" zakończył się kodem wyjściowym 2.
                          Błąd budowania / instalowania projektu SapaGM (zestaw narzędzi: Desktop Qt 5.8.0 MinGW 32bit)
                          Podczas wykonywania kroku "qmake"

                          It means that QT has found error during building in step "Qmake"

                          Do You know if this is connected to web kit?

                          K 1 Reply Last reply
                          0
                          • C cscibiorek

                            I downloaded qtwebkit-tp5-qt58-msvc2015-x86 unzipped and copied files to my QT

                            My diagnostics error after trying to run application:
                            Cannot find file: C:\Users\scibic\Desktop\CEZARY\Montaż\Opel Insignia\PC\GM\SapaGM\SapaGM.pro.
                            17:31:54: Proces "C:\Qt\5.8\mingw53_32\bin\qmake.exe" zakończył się kodem wyjściowym 2.
                            Błąd budowania / instalowania projektu SapaGM (zestaw narzędzi: Desktop Qt 5.8.0 MinGW 32bit)
                            Podczas wykonywania kroku "qmake"

                            It means that QT has found error during building in step "Qmake"

                            Do You know if this is connected to web kit?

                            K Offline
                            K Offline
                            Konstantin Tokarev
                            wrote on last edited by
                            #13

                            @cscibiorek Looks like you are using qmake from mingw53_32, but downloaded QtWebKit for MSVC2015

                            1 Reply Last reply
                            0
                            • C Offline
                              C Offline
                              cscibiorek
                              wrote on last edited by
                              #14

                              I have domloaded and copied: qtwebkit-tp5-qt58-mingw530-x86
                              My build settinng are like this:
                              Steps of build project:
                              a) Make: mingw32-make.exe in C:\Users\scibic\Desktop\CEZARY\Montaż\Opel Insignia\PC\GM\SapaGM
                              b) qmake: qmake.exe SapaGM.pro -spec win32-g++

                              Steps of cleaning proces:
                              Make: mingw32-make.exe clean in C:\Users\scibic\Desktop\CEZARY\Montaż\Opel Insignia\PC\GM\SapaGM

                              Build environment - system environment


                              When I try to build U have such error: build/install project SAPA GM (tools: Desktop during Qmake step

                              I have no idea what is the problem... Do you have any ideas?

                              K 1 Reply Last reply
                              0
                              • C cscibiorek

                                I have domloaded and copied: qtwebkit-tp5-qt58-mingw530-x86
                                My build settinng are like this:
                                Steps of build project:
                                a) Make: mingw32-make.exe in C:\Users\scibic\Desktop\CEZARY\Montaż\Opel Insignia\PC\GM\SapaGM
                                b) qmake: qmake.exe SapaGM.pro -spec win32-g++

                                Steps of cleaning proces:
                                Make: mingw32-make.exe clean in C:\Users\scibic\Desktop\CEZARY\Montaż\Opel Insignia\PC\GM\SapaGM

                                Build environment - system environment


                                When I try to build U have such error: build/install project SAPA GM (tools: Desktop during Qmake step

                                I have no idea what is the problem... Do you have any ideas?

                                K Offline
                                K Offline
                                Konstantin Tokarev
                                wrote on last edited by
                                #15

                                @cscibiorek No, because you show no actual error messages

                                If error is the same as in your previous post ("Cannot find file: C:\Users\scibic\Desktop\CEZARY\Montaż\Opel Insignia\PC\GM\SapaGM\SapaGM.pro), I cannot do anything about that because it means that your project file is missing.

                                1 Reply Last reply
                                0
                                • C Offline
                                  C Offline
                                  cscibiorek
                                  wrote on last edited by
                                  #16

                                  Software is working on:
                                  QT Creator 2.0.1
                                  Based on Qt 4.7.0 (32-bit)
                                  Build on Aug 24 2010 at 11:00

                                  Software is NOT working on:
                                  QT Creator 4.2.1rr
                                  Based on QT5.8.0 (MSVC 2015, 32-bit)
                                  Version: Jan 2 0 2017

                                  On the PC where compilation is not working there is information:
                                  Makefile.Debug:412: recipe for target 'debug/main.o' failed
                                  mingw32-make[1]: Leaving directory 'C:/Users/scibic/Desktop/GM/SapaGM'
                                  mingw32-make[1]: *** [debug/main.o] Error 1
                                  Makefile:34: recipe for target 'debug' failed
                                  mingw32-make: *** [debug] Error 2
                                  16:23:07: Proces "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" zakończył się kodem wyjściowym 2.
                                  Błąd budowania / instalowania projektu SapaGM (zestaw narzędzi: Desktop)
                                  Podczas wykonywania kroku "Make"
                                  16:23:07: Czas trwania: 00:05.

                                  Do You need more information? What fo You want me to provide? I have no idea what can be the problem....

                                  K 1 Reply Last reply
                                  0
                                  • C cscibiorek

                                    Software is working on:
                                    QT Creator 2.0.1
                                    Based on Qt 4.7.0 (32-bit)
                                    Build on Aug 24 2010 at 11:00

                                    Software is NOT working on:
                                    QT Creator 4.2.1rr
                                    Based on QT5.8.0 (MSVC 2015, 32-bit)
                                    Version: Jan 2 0 2017

                                    On the PC where compilation is not working there is information:
                                    Makefile.Debug:412: recipe for target 'debug/main.o' failed
                                    mingw32-make[1]: Leaving directory 'C:/Users/scibic/Desktop/GM/SapaGM'
                                    mingw32-make[1]: *** [debug/main.o] Error 1
                                    Makefile:34: recipe for target 'debug' failed
                                    mingw32-make: *** [debug] Error 2
                                    16:23:07: Proces "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" zakończył się kodem wyjściowym 2.
                                    Błąd budowania / instalowania projektu SapaGM (zestaw narzędzi: Desktop)
                                    Podczas wykonywania kroku "Make"
                                    16:23:07: Czas trwania: 00:05.

                                    Do You need more information? What fo You want me to provide? I have no idea what can be the problem....

                                    K Offline
                                    K Offline
                                    Konstantin Tokarev
                                    wrote on last edited by
                                    #17

                                    @cscibiorek Please use release configuration. Debug binaries were not provided in TP5 archives.

                                    1 Reply Last reply
                                    0
                                    • ? A Former User

                                      Hi! Webkit isn't part of our framework anymore. But if you search the forum, you might find help on how to build it on your own. You said the program you received is about 7 years old. So I assume it uses Qt 4.7. Shouldn't be too hard to port it to 5.8.

                                      S Offline
                                      S Offline
                                      SimonB
                                      wrote on last edited by
                                      #18

                                      @Wieland Is the "webengine" module replacing the webkit ??

                                      K 1 Reply Last reply
                                      0
                                      • S SimonB

                                        @Wieland Is the "webengine" module replacing the webkit ??

                                        K Offline
                                        K Offline
                                        Konstantin Tokarev
                                        wrote on last edited by
                                        #19

                                        @SimonB It certainly can be used as a replacement, but not as "drop-in" one, and there are a lot of differences in available features, platform support, binary size / dependencies etc.

                                        S 1 Reply Last reply
                                        0
                                        • K Konstantin Tokarev

                                          @SimonB It certainly can be used as a replacement, but not as "drop-in" one, and there are a lot of differences in available features, platform support, binary size / dependencies etc.

                                          S Offline
                                          S Offline
                                          SimonB
                                          wrote on last edited by
                                          #20

                                          @Konstantin-Tokarev
                                          I just read about that. I need to build it from source for an embedded linux. I just saw that it was "hard" to build for debian, I suppose that cross compiling it will be a pain. I'm already having error without clear context of why the build failed :S

                                          K 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