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. :-1: error: error: unrecognized command-line option '-mylibrary'
Forum Updated to NodeBB v4.3 + New Features

:-1: error: error: unrecognized command-line option '-mylibrary'

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 262 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.
  • A Offline
    A Offline
    ajayvardhan
    wrote on last edited by
    #1

    Screenshot (12).png

    SGaistS 1 Reply Last reply
    0
    • A ajayvardhan

      Screenshot (12).png

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You might want to give a bit more details and explanation about your issue rather than just posting a picture.

      That said, based on that image, the issue comes from your calculator project.

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

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        You might want to give a bit more details and explanation about your issue rather than just posting a picture.

        That said, based on that image, the issue comes from your calculator project.

        C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        Further to @SGaist's observation, I would guess that the calculator PRO file has an incorrect LIBS variable, e.g..

        LIBS += ... -mylibrary
        

        rather than

        LIBS += ... -lmylibrary
        
        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