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. REPOST Linker problem
Forum Updated to NodeBB v4.3 + New Features

REPOST Linker problem

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

    I do not believe this

    I have removed "do not post warning messages " and have no more linker issue.

    I have two major problems and I like to get some serious help .
    ( please read the entire post and ask questions before going off the subject - which is to solve linker problem)

    I am getting INTERMITTENT messages - they are sort of contradicting each other . And sort of funny, if it was not serious.

    The file was not used , so the linking was not done.
    Then the file was not found at all.

    :-1: warning: QMAKE_CXXFLAGS_WARN_OFF: linker input file unused because linking not done

    :-1: error: error: QMAKE_CXXFLAGS_WARN_OFF: linker input file not found: No such file or directory

    The linker has to find its "input file" then use it - as simple as that.

    The above simply states that the "input file " is missing (for linker to use it ) , but only sometime...

    Is there a compiler / linker option I am missing ?

    I have :subdirs" project and ONLY the main /executable project is failing this way . Any other suboroject compile / run as expected.

    I am going to "strip off " the subprojects - if that is an issue , and find which one is causing the problem.

    Thanks

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mchinand
      wrote on last edited by
      #2

      Please paste more of the compiler/linker output, not just the error line.

      A 1 Reply Last reply
      1
      • M mchinand

        Please paste more of the compiler/linker output, not just the error line.

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @mchinand said in REPOST Linker problem:

        Please paste more of the compiler/linker output, not just the error line.

        I am NOT getting any other output , you could assume I would posted it if I had one which would help. Duh..
        (This "let's chat ", is getting out of hand. )

        Give me some credit , work with what I and you have , and address the issue.
        PLEASE

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mchinand
          wrote on last edited by
          #4

          @AnneRanch said in REPOST Linker problem:

          error: QMAKE_CXXFLAGS_WARN_OFF

          Are you setting this in your .pro file? Can you post your .pro file? See this post.

          A 1 Reply Last reply
          0
          • M mchinand

            @AnneRanch said in REPOST Linker problem:

            error: QMAKE_CXXFLAGS_WARN_OFF

            Are you setting this in your .pro file? Can you post your .pro file? See this post.

            A Offline
            A Offline
            Anonymous_Banned275
            wrote on last edited by
            #5

            @mchinand thaqt post turned into sermon telling me why I need to fix my warnings., hence THIS REPOST.
            I do not need to be told how to code , I was asking for solution to THIS issue.
            Apparently it will remain unresolved....
            Removing the "ignore warnings " (from .pro file ) is just a hack, not a solution.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ChrisW67
              wrote on last edited by
              #6

              I gave you that "sermon" because you failed to describe the behaviour you were trying to achieve, leaving the forum to guess what you were doing. I made an educated guess which apparently you thought was beneath you. However, rather than actually engage with attacking the problem by providing adequate information you simply went quiet and started another thread. This thread still contains inadequate information.

              Give me some credit ,

              You earn credit.

              work with what I and you have ,

              Which as has been pointed out at least twice is inadequate to even start.

              and address the issue.

              You first. Post your PRO file. Tell us what environment you are working in. Post the entire compiler linker output.

              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