Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140113

Text Viewer Plugin Example does not compile

XMLWordPrintable

    • Linux/X11
    • framework-content 19

      Test steps:
      Open and compile Text Viewer Plugin Example in Creator.

      Result:

      11:51:54: Running steps for project txtviewer_plugin...
      11:51:54: Starting: "/home/qt/RTA/QtCreator_17.0.1/Tools/CMake/bin/cmake" --build /home/qt/RTA/QtCreator_17.0.1/Examples/Qt-6.9.2/demos/documentviewer/plugins/txtviewer/build/Desktop_Qt_6_9_2-Debug --target all
      [1/2 0.2/sec] Building CXX object CMakeFiles/txtviewer.dir/txtviewer.cpp.o
      [2/2 0.4/sec] Linking CXX shared module app/libtxtviewer.so
      FAILED: app/libtxtviewer.so 
      : && /bin/g++ -fPIC -DQT_QML_DEBUG -g   -shared  -o app/libtxtviewer.so CMakeFiles/txtviewer.dir/txtviewer.cpp.o  -Wl,-rpath,/home/qt/RTA/QtCreator_17.0.1/6.9.2/gcc_64/lib:  -labstractviewer  /home/qt/RTA/QtCreator_17.0.1/6.9.2/gcc_64/lib/libQt6PrintSupport.so.6.9.2  /home/qt/RTA/QtCreator_17.0.1/6.9.2/gcc_64/lib/libQt6Widgets.so.6.9.2  /home/qt/RTA/QtCreator_17.0.1/6.9.2/gcc_64/lib/libQt6Gui.so.6.9.2  /usr/lib/x86_64-linux-gnu/libGLX.so  /usr/lib/x86_64-linux-gnu/libOpenGL.so  /home/qt/RTA/QtCreator_17.0.1/6.9.2/gcc_64/lib/libQt6Core.so.6.9.2  -Wl,-rpath-link,/home/qt/RTA/QtCreator_17.0.1/6.9.2/gcc_64/lib && :
      /usr/bin/ld: cannot find -labstractviewer: No such file or directory
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      11:51:59: The command "/home/qt/RTA/QtCreator_17.0.1/Tools/CMake/bin/cmake --build /home/qt/RTA/QtCreator_17.0.1/Examples/Qt-6.9.2/demos/documentviewer/plugins/txtviewer/build/Desktop_Qt_6_9_2-Debug --target all" terminated with exit code 1.
      11:51:59: Error while building/deploying project txtviewer_plugin (kit: Desktop Qt 6.9.2)
      11:51:59: When executing step "Build"
      11:51:59: Elapsed time: 00:05. 

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            jukkanokso Jukka Nokso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes