Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

No rule to make target `QtWebKit/QWebView' (Qt 5.12.3 + macx)



  • Hello,

    I compiled qtwebkit with xcode 9.3.3 and qt-5.12.3 on osx 10.13.6 using @Konstantin-Tokarev's wiki. Everything worked fine with qt-5.9.5, but I encounter some trouble with the 5.12.3 build

    I have the following libs on my qtwebkit lib folder :

    ls -l qtwebkit/WebKitBuild/Release/lib
    drwxr-xr-x  6 xxx  xxx       192 28 mai 09:05 QtWebKit.framework
    drwxr-xr-x  6 xxx  xxx       192 28 mai 09:05 QtWebKitWidgets.framework
    -rw-r--r--  1 xxx  xxx   1804144 28 mai 09:06 libANGLESupport.a
    -rw-r--r--  1 xxx  xxx  21616400 28 mai 09:16 libJavaScriptCore.a
    -rw-r--r--  1 xxx  xxx    646008 28 mai 09:05 libWTF.a
    -rw-r--r--  1 xxx  xxx  59532320 28 mai 09:43 libWebCore.a
    -rw-r--r--  1 xxx  xxx    988520 28 mai 09:44 libWebCoreTestSupport.a
    -rw-r--r--  1 xxx  xxx   7692976 28 mai 09:52 libWebKit2.a
    -rw-r--r--  1 xxx  xxx    110128 28 mai 09:05 libbmalloc.a
    -rw-r--r--  1 xxx  xxx    181408 28 mai 09:05 libbrotli.a
    -rwxr-xr-x  1 xxx  xxx    217380 28 mai 09:05 libgtest.dylib
    -rw-r--r--  1 xxx  xxx     49472 28 mai 09:05 libwoff2.a
    
    

    after installation, I have QtWebKit.framework and QtWebKitWidgets.framework on my clang_64 folder

    ls -l 
    drwxr-xr-x   9 xxx  xxx      288 20 mai 13:13 QtWebEngineWidgets.framework
    drwxr-xr-x   6 xxx  xxx      192 28 mai 09:46 QtWebKit.framework
    drwxr-xr-x   6 xxx  xxx      192 28 mai 09:46 QtWebKitWidgets.framework
    drwxr-xr-x   9 xxx  xxx      288 20 mai 13:09 QtWebSockets.framework
    

    I have this in my .pro file :

    QT += webkit
    QT += webkitwidgets
    

    Output :

    qmake OpenBoard.pro -spec macx-clang
    make
    /Users/xxx/qt/5.12.3/clang_64/bin/uic resources/forms/brushProperties.ui -o build/macx/release/ui/ui_brushProperties.h
    /Users/xxx/qt/5.12.3/clang_64/bin/uic resources/forms/documents.ui -o build/macx/release/ui/ui_documents.h
    /Users/xxx/qt/5.12.3/clang_64/bin/uic resources/forms/blackoutWidget.ui -o build/macx/release/ui/ui_blackoutWidget.h
    make[1]: *** No rule to make target `QtWebKit/QWebView', needed by `build/macx/release/ui/ui_trapFlash.h'.  Stop.
    

    What am I missing ?

    Edit : this seems to be related to the fact that QtDesigner doesn't recognize QWebView anymore ... but I am pretty sure I managed to make it work with qt5.9.5 ...

    Can I help the "UI" form link to QWebView correctly ?


Log in to reply