Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Include built libraries in Qt project.

Include built libraries in Qt project.

Scheduled Pinned Locked Moved Unsolved Qt 6
pro fileprilibrarybuild stepsqt3d
1 Posts 1 Posters 434 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.
  • S Offline
    S Offline
    surajj4837
    wrote on 22 Apr 2021, 09:12 last edited by surajj4837
    #1

    I m using Linux 20.04 and built 3D library of Qt6.0.3 version. I referred following links to build the library:
    https://www.kdab.com/getting-your-3d-ready-for-qt-6/#comment-153302
    https://wiki.qt.io/Qt6_Add-on_src_package_build_using_Conan_package_manager

    The build was successful.
    The build directory is /home/suraj/Qt/Tools/Conan/build_dir
    It has qt3d folder and along with it conanbuildinfo.pri.
    I m using qmake build system, the second link says to include .pri file in the .pro file of project to include the library. Reference for including a generated pri file.

    include(/home/suraj/Qt/Tools/Conan/build_dir/conanbuildinfo.pri)
    
    QT += widgets 3dcore 3drender 3dinput 3dextras
    

    Above include line was added in a sample folder but the build fails with following error:

    :-1: error: Project ERROR: Unknown module(s) in QT: 3dcore 3drender 3dinput 3dextras
    

    What am I missing?

    1 Reply Last reply
    0

    1/1

    22 Apr 2021, 09:12

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved