Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [SOLVED][Qt Creator][Static Library] Can't select a static library by GUI way in Qt Creator 2.5.0
Forum Updated to NodeBB v4.3 + New Features

[SOLVED][Qt Creator][Static Library] Can't select a static library by GUI way in Qt Creator 2.5.0

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 2.1k 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.
  • F Offline
    F Offline
    fgeci35
    wrote on last edited by
    #1

    Hi,

    I work with Qt Creator on Linux CentOS with GCC compiler.
    I want to add a static library (create with fortran g95 ) to my project by the GUI way.
    So, after right click on project , i select "add Library", i choose "external Library".
    When i select my static library the path is colored in red and nothing tell me why this library can't be add.
    I ve done the same thing on windows XP and it worked fine.

    Do you have any idea about what happened?

    Tx
    Frédéric

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fgeci35
      wrote on last edited by
      #2

      Hi,

      I ve found why ...If i renamed my static library "my_library.a" in this way : "libmy_library.a" it works!
      On Windows, Qt Creator seems to be more cool :)

      Now i ve new problem : "no rule to make target", but this post can be close.

      Frédéric

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Which file did you select? Is that really a static library and not some wrapper script or something (what does "file /name/of/your/static/lib" say)?

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fgeci35
          wrote on last edited by
          #4

          Hi Tobias,
          Tx to answer.
          "file/name/of/your/static/lib” say : current ar archive

          Which i guess confirm that it is a static library.

          Frédéric

          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