Qt webkit error while trying to build
-
wrote on 18 Feb 2017, 20:41 last edited by A Former User
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?
-
wrote on 18 Feb 2017, 20:49 last edited by 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.
-
wrote on 18 Feb 2017, 20:55 last edited by
hello, thank You ;)
Im really begginer to QT.
Can You please show me proper thread on forum, please?
-
wrote on 18 Feb 2017, 21:02 last edited by
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.
-
wrote on 18 Feb 2017, 21:26 last edited by
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.8Am I right that this is a kind of ,,package" and it allow my Qt5.8 to build ,,old" webkit?
-
wrote on 18 Feb 2017, 21:28 last edited by
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 :)
-
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.8Am I right that this is a kind of ,,package" and it allow my Qt5.8 to build ,,old" webkit?
wrote on 18 Feb 2017, 22:01 last edited by@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.
-
wrote on 18 Feb 2017, 22:32 last edited by
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?
-
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?
wrote on 18 Feb 2017, 23:03 last edited by@cscibiorek put contents of "include" into "include" and so on
-
wrote on 19 Feb 2017, 08:46 last edited by 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) -
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)wrote on 19 Feb 2017, 18:37 last edited by@cscibiorek It's a drop-in replacement, no modifications in your code will be needed
-
wrote on 21 Feb 2017, 16:43 last edited by
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?
-
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?
wrote on 21 Feb 2017, 17:29 last edited by@cscibiorek Looks like you are using qmake from mingw53_32, but downloaded QtWebKit for MSVC2015
-
wrote on 27 Feb 2017, 12:51 last edited by
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\SapaGMBuild 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?
-
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\SapaGMBuild 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?
wrote on 27 Feb 2017, 15:40 last edited by@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.
-
wrote on 28 Feb 2017, 16:11 last edited by
Software is working on:
QT Creator 2.0.1
Based on Qt 4.7.0 (32-bit)
Build on Aug 24 2010 at 11:00Software is NOT working on:
QT Creator 4.2.1rr
Based on QT5.8.0 (MSVC 2015, 32-bit)
Version: Jan 2 0 2017On 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....
-
Software is working on:
QT Creator 2.0.1
Based on Qt 4.7.0 (32-bit)
Build on Aug 24 2010 at 11:00Software is NOT working on:
QT Creator 4.2.1rr
Based on QT5.8.0 (MSVC 2015, 32-bit)
Version: Jan 2 0 2017On 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....
wrote on 28 Feb 2017, 16:14 last edited by@cscibiorek Please use release configuration. Debug binaries were not provided in TP5 archives.
-
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.
wrote on 13 Mar 2017, 13:58 last edited by@Wieland Is the "webengine" module replacing the webkit ??
-
wrote on 13 Mar 2017, 14:01 last edited by
@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.
-
@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.
wrote on 13 Mar 2017, 14:17 last edited by@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