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. Unable to add external library to Qt6
Qt 6.11 is out! See what's new in the release blog

Unable to add external library to Qt6

Scheduled Pinned Locked Moved Unsolved Qt 6
6 Posts 2 Posters 1.5k Views 1 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.
  • M Offline
    M Offline
    Menre
    wrote on last edited by
    #1

    Hello,
    I have a project in Qt6 but I can't add external library to the project. When I right-click on the project to add the library, a new pop-up window comes up but the options below are all greyed out.
    Add New...
    ...
    Add Library...
    Does anyone have an idea about solving this problem, please?
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you working on a cmake project ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Menre
        wrote on last edited by
        #3

        Yes, I am working on a cmake project.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then AFAIK, you'll have to do it by hand. Is it a known library that you want to add to your project ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • SGaistS SGaist

            Then AFAIK, you'll have to do it by hand. Is it a known library that you want to add to your project ?

            M Offline
            M Offline
            Menre
            wrote on last edited by
            #5

            @SGaist The Eigen Library is a known library and that is what I am trying to add to a project.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              You have a chapter in the Eigen documentation on how to use the library with a cmake project.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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