Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved] Symbol not found for architecture

    General and Desktop
    2
    3
    1065
    Loading More Posts
    • 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
      blissful last edited by

      Hi
      I'm new with Qt.
      However, right after creating a new project. I ran the project and it works fine.
      I also added a label, a lineEdit, calendar, etc. and it ran ok too after that.
      But after deleting some widgets and adding a different one.
      After I ran Qt. I suddenly get the following issues:
      directory not found for option '-F/Users/bliss/Qt5.0.1/5.0.1/clang_64/qtbase/lib'
      symbol(s) not found for architecture x86_64

      The last time I met this problem, I deleted the projected and restarted.
      This time, I'd like to solve it properly.
      Please help.

      Inside the clang_64 folder I do not have a 'qtbase' folder.
      I thought Qt installation should add all the necessary folders.
      Is it just a matter of creating the 'qtbase' folder and then create a 'lib' folder inside the qtbase?
      Thank you

      1 Reply Last reply Reply Quote 0
      • B
        blissful last edited by

        I have solved this by deleting the slot declarations in the .h file.
        However, I don't see the connection with:

        directory not found for option ‘-F/Users/bliss/Qt5.0.1/5.0.1/clang_64/qtbase/lib’
        symbol(s) not found for architecture x86_64

        1 Reply Last reply Reply Quote 0
        • P
          panosk last edited by

          Try to clean, run qmake, and rebuild. If the problem persists, then look for missing Q_Object macros, or accidentally deleted function definitions or implementations. You can also look at the compile output to get a clue about where the problem pops up.

          EDIT: Came late by a couple of minutes, but it seems you found it, nice :-). Don't forget to mark as solved.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post