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. [Solved] Symbol not found for architecture
Forum Updated to NodeBB v4.3 + New Features

[Solved] Symbol not found for architecture

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

    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
    0
    • B Offline
      B Offline
      blissful
      wrote on last edited by
      #2

      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
      0
      • P Offline
        P Offline
        panosk
        wrote on last edited by
        #3

        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
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved