Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. simplybrowser example ... fails ... quikbrowser example run
Forum Updated to NodeBB v4.3 + New Features

simplybrowser example ... fails ... quikbrowser example run

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 2 Posters 424 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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by
    #1

    as from title, My new qt6.7 installation on debian 12 run perfectly quick nano browser example .... but fails to run simplybrowser example with these output:

    --build /home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/build/Desktop_Qt_6_7_2-Debug --target all
    [1/18 43.5/sec] Running qmlimportscanner for simplebrowser
    [2/18 1.3/sec] Automatic MOC and UIC for target simplebrowser
    [3/18 1.9/sec] Running rcc for resource simplebrowser
    [4/18 2.6/sec] Running rcc for resource simplebrowser1
    [5/18 0.6/sec] Building CXX object CMakeFiles/simplebrowser.dir/browser.cpp.o
    [6/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/main.cpp.o
    [7/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/downloadmanagerwidget.cpp.o
    [8/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/simplebrowser_autogen/mocs_compilation.cpp.o
    [9/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/downloadwidget.cpp.o
    [10/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/browserwindow.cpp.o
    FAILED: CMakeFiles/simplebrowser.dir/browserwindow.cpp.o 
    /usr/bin/clang++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_WIDGETS_LIB -I/home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/build/Desktop_Qt_6_7_2-Debug/simplebrowser_autogen/include -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include -isystem /home/gc51/Qt/6.7.2/gcc_64/mkspecs/linux-g++ -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtGui -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtNetwork -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQuick -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQml -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlIntegration -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlBuiltins -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlModels -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtOpenGL -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebChannel -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPositioning -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPrintSupport -DQT_QML_DEBUG -g -std=gnu++17 -fcolor-diagnostics -fPIC -MD -MT CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -MF CMakeFiles/simplebrowser.dir/browserwindow.cpp.o.d -o CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -c /home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/browserwindow.cpp
    PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /usr/bin/clang++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_WIDGETS_LIB -I/home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/build/Desktop_Qt_6_7_2-Debug/simplebrowser_autogen/include -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include -isystem /home/gc51/Qt/6.7.2/gcc_64/mkspecs/linux-g++ -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtGui -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtNetwork -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQuick -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQml -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlIntegration -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlBuiltins -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlModels -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtOpenGL -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebChannel -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPositioning -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPrintSupport -DQT_QML_DEBUG -g -std=gnu++17 -fcolor-diagnostics -fPIC -MD -MT CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -MF CMakeFiles/simplebrowser.dir/browserwindow.cpp.o.d -o CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -c /home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/browserwindow.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/browserwindow.cpp'.
    4.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZN9QtPrivate16QMovableArrayOpsI12QKeySequenceE8InserterD2Ev'
    #0 0x00007f91b23d3291 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xea5291)
    #1 0x00007f91b23d0fbe llvm::sys::RunSignalHandlers() (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xea2fbe)
    #2 0x00007f91b23d264b llvm::sys::CleanupOnSignal(unsigned long) (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xea464b)
    #3 0x00007f91b22f983f (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xdcb83f)
    #4 0x00007f91b106e050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
    #5 0x00000000011524e0 
    clang: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    Debian clang version 14.0.6
    Target: x86_64-pc-linux-gnu
    Thread model: posix
    InstalledDir: /usr/bin
    clang: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang: note: diagnostic msg: /tmp/browserwindow-78c1ea.cpp
    clang: note: diagnostic msg: /tmp/browserwindow-78c1ea.sh
    clang: note: diagnostic msg: 
    
    ********************
    [11/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/webpage.cpp.o
    [12/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/tabwidget.cpp.o
    [13/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/webpopupwindow.cpp.o
    [14/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/webview.cpp.o
    [15/18 0.9/sec] Building CXX object CMakeFiles/simplebrowser.dir/webauthdialog.cpp.o
    ninja: build stopped: subcommand failed.
    05:57:04: The process "/home/gc51/Qt/Tools/CMake/bin/cmake" exited with code 1.
    Error while building/deploying project simplebrowser (kit: Desktop Qt 6.7.2)
    When executing step "Build"
    

    llvm is install 14 and 15 version and dev version ....

    any helph is appreciate.

    bkt

    jsulmJ 1 Reply Last reply
    0
    • gfxxG gfxx

      as from title, My new qt6.7 installation on debian 12 run perfectly quick nano browser example .... but fails to run simplybrowser example with these output:

      --build /home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/build/Desktop_Qt_6_7_2-Debug --target all
      [1/18 43.5/sec] Running qmlimportscanner for simplebrowser
      [2/18 1.3/sec] Automatic MOC and UIC for target simplebrowser
      [3/18 1.9/sec] Running rcc for resource simplebrowser
      [4/18 2.6/sec] Running rcc for resource simplebrowser1
      [5/18 0.6/sec] Building CXX object CMakeFiles/simplebrowser.dir/browser.cpp.o
      [6/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/main.cpp.o
      [7/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/downloadmanagerwidget.cpp.o
      [8/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/simplebrowser_autogen/mocs_compilation.cpp.o
      [9/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/downloadwidget.cpp.o
      [10/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/browserwindow.cpp.o
      FAILED: CMakeFiles/simplebrowser.dir/browserwindow.cpp.o 
      /usr/bin/clang++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_WIDGETS_LIB -I/home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/build/Desktop_Qt_6_7_2-Debug/simplebrowser_autogen/include -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include -isystem /home/gc51/Qt/6.7.2/gcc_64/mkspecs/linux-g++ -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtGui -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtNetwork -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQuick -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQml -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlIntegration -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlBuiltins -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlModels -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtOpenGL -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebChannel -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPositioning -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPrintSupport -DQT_QML_DEBUG -g -std=gnu++17 -fcolor-diagnostics -fPIC -MD -MT CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -MF CMakeFiles/simplebrowser.dir/browserwindow.cpp.o.d -o CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -c /home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/browserwindow.cpp
      PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
      Stack dump:
      0.	Program arguments: /usr/bin/clang++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_WIDGETS_LIB -I/home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/build/Desktop_Qt_6_7_2-Debug/simplebrowser_autogen/include -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include -isystem /home/gc51/Qt/6.7.2/gcc_64/mkspecs/linux-g++ -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtGui -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWidgets -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebEngineCore -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtNetwork -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQuick -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQml -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlIntegration -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlBuiltins -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtQmlModels -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtOpenGL -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtWebChannel -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPositioning -isystem /home/gc51/Qt/6.7.2/gcc_64/include/QtPrintSupport -DQT_QML_DEBUG -g -std=gnu++17 -fcolor-diagnostics -fPIC -MD -MT CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -MF CMakeFiles/simplebrowser.dir/browserwindow.cpp.o.d -o CMakeFiles/simplebrowser.dir/browserwindow.cpp.o -c /home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/browserwindow.cpp
      1.	<eof> parser at end of file
      2.	Code generation
      3.	Running pass 'Function Pass Manager' on module '/home/gc51/Qt/Examples/Qt-6.7.2/webenginewidgets/simplebrowser/browserwindow.cpp'.
      4.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZN9QtPrivate16QMovableArrayOpsI12QKeySequenceE8InserterD2Ev'
      #0 0x00007f91b23d3291 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xea5291)
      #1 0x00007f91b23d0fbe llvm::sys::RunSignalHandlers() (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xea2fbe)
      #2 0x00007f91b23d264b llvm::sys::CleanupOnSignal(unsigned long) (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xea464b)
      #3 0x00007f91b22f983f (/lib/x86_64-linux-gnu/libLLVM-14.so.1+0xdcb83f)
      #4 0x00007f91b106e050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
      #5 0x00000000011524e0 
      clang: error: clang frontend command failed with exit code 139 (use -v to see invocation)
      Debian clang version 14.0.6
      Target: x86_64-pc-linux-gnu
      Thread model: posix
      InstalledDir: /usr/bin
      clang: note: diagnostic msg: 
      ********************
      
      PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
      Preprocessed source(s) and associated run script(s) are located at:
      clang: note: diagnostic msg: /tmp/browserwindow-78c1ea.cpp
      clang: note: diagnostic msg: /tmp/browserwindow-78c1ea.sh
      clang: note: diagnostic msg: 
      
      ********************
      [11/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/webpage.cpp.o
      [12/18 0.7/sec] Building CXX object CMakeFiles/simplebrowser.dir/tabwidget.cpp.o
      [13/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/webpopupwindow.cpp.o
      [14/18 0.8/sec] Building CXX object CMakeFiles/simplebrowser.dir/webview.cpp.o
      [15/18 0.9/sec] Building CXX object CMakeFiles/simplebrowser.dir/webauthdialog.cpp.o
      ninja: build stopped: subcommand failed.
      05:57:04: The process "/home/gc51/Qt/Tools/CMake/bin/cmake" exited with code 1.
      Error while building/deploying project simplebrowser (kit: Desktop Qt 6.7.2)
      When executing step "Build"
      

      llvm is install 14 and 15 version and dev version ....

      any helph is appreciate.

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

      @gfxx said in simplybrowser example ... fails ... quikbrowser example run:

      PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/

      Looks like internal compiler bug/issue. You could report it as suggested.

      Is there a reason you're using llvm instead of GCC on Linux?

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

      gfxxG 1 Reply Last reply
      0
      • jsulmJ jsulm

        @gfxx said in simplybrowser example ... fails ... quikbrowser example run:

        PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/

        Looks like internal compiler bug/issue. You could report it as suggested.

        Is there a reason you're using llvm instead of GCC on Linux?

        gfxxG Offline
        gfxxG Offline
        gfxx
        wrote on last edited by gfxx
        #3

        @jsulm no for sure ..... i try only the default installation with default project example before try to use open62541 on these new SO .... for check if all work. Pherhaps qtcreator 14 (desktop devlopment) is different from previous install on LMDE6 ... not understand how can change it .... seems compiler default is ninja .... not understand how to obligate system to use gcc .... there are not "set as default" options ...

        Screenshot at 2024-09-26 08-59-33.png

        bkt

        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