Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What is the proper way to include an existing external C++ Library into a QT project?
Forum Updated to NodeBB v4.3 + New Features

What is the proper way to include an existing external C++ Library into a QT project?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 474 Views 2 Watching
  • 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.
  • B Offline
    B Offline
    Bob W
    wrote on last edited by
    #1

    Do I need to create it as a C++ Library first with QT and then include it into the project, or can I just include the links in the pro file and add the #include file in main?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by koahnig
      #2

      The main issue is merely that it has to be in most cases being compiled with the same compiler as your Qt libs. Otherwise you find more details here

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      2

      • Login

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