Unsolved Qt webkit error while trying to build
-
hello, thank You ;)
Im really begginer to QT.
Can You please show me proper thread on forum, please?
-
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.
-
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?
-
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 :)
-
@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.
-
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?
-
@cscibiorek put contents of "include" into "include" and so on
-
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) -
@cscibiorek It's a drop-in replacement, no modifications in your code will be needed
-
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?
-
@cscibiorek Looks like you are using qmake from mingw53_32, but downloaded QtWebKit for MSVC2015
-
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?
-
@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.
-
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....
-
@cscibiorek Please use release configuration. Debug binaries were not provided in TP5 archives.
-
@Wieland Is the "webengine" module replacing the webkit ??
-
@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.
-
@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 -
@SimonB It might be that QtWebKit TP5 could be a better choice for your embedded system, but YMMV
https://github.com/annulen/webkit/wiki/Use-cases-of-QtWebKit#use-case-1-embedded-systems
-
@Konstantin-Tokarev
Thanks a lot !!! I didn't know I could use this module since it wasn't bundled with the qt5.8
I'm trying this right now !!