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. symbol(s) not found for architecture x86_64
Forum Updated to NodeBB v4.3 + New Features

symbol(s) not found for architecture x86_64

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 432 Views
  • 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.
  • CN_CabbageC Offline
    CN_CabbageC Offline
    CN_Cabbage
    wrote on last edited by
    #1

    Hi, I met the same problem with this, Re: symbol(s) not found for architecture x86_64
    b0a65151-ac8e-44a0-b5ae-fa1c066be151-image.png
    I have made the suggestions in that post but it didn't solve my question. I new a post according to the Qt Forum suggestion.
    I'm on macOS Catalina 10.15.6, Qt version: Qt 5.12.0.
    My kits:
    b11ccd6a-8c94-4a06-8e48-fd9f753dc54a-image.png
    My sqldrivers folder
    da3bde35-69ce-41ed-807f-0e9aa47fecab-image.png

    jsulmJ 1 Reply Last reply
    0
    • CN_CabbageC CN_Cabbage

      Hi, I met the same problem with this, Re: symbol(s) not found for architecture x86_64
      b0a65151-ac8e-44a0-b5ae-fa1c066be151-image.png
      I have made the suggestions in that post but it didn't solve my question. I new a post according to the Qt Forum suggestion.
      I'm on macOS Catalina 10.15.6, Qt version: Qt 5.12.0.
      My kits:
      b11ccd6a-8c94-4a06-8e48-fd9f753dc54a-image.png
      My sqldrivers folder
      da3bde35-69ce-41ed-807f-0e9aa47fecab-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @CN_Cabbage Please show what symbols are not found.
      The libs are probably not for x86_64 but ARM, or they are simply not found (post the content of your pro file).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      CN_CabbageC 1 Reply Last reply
      0
      • jsulmJ jsulm

        @CN_Cabbage Please show what symbols are not found.
        The libs are probably not for x86_64 but ARM, or they are simply not found (post the content of your pro file).

        CN_CabbageC Offline
        CN_CabbageC Offline
        CN_Cabbage
        wrote on last edited by CN_Cabbage
        #3

        @jsulm
        Sorry jsulm, I'm very new to Qt, and I don't know how to show what symbols are not found.

        Below is my .pro file

        #-------------------------------------------------
        #
        # Project created by QtCreator 2022-07-19T09:17:19
        #
        #-------------------------------------------------
        
        QT       += core gui sql
        
        greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
        
        TARGET = bili_tedu_stu_score_mgn
        TEMPLATE = app
        
        # The following define makes your compiler emit warnings if you use
        # any feature of Qt which has been marked as deprecated (the exact warnings
        # depend on your compiler). Please consult the documentation of the
        # deprecated API in order to know how to port your code away from it.
        DEFINES += QT_DEPRECATED_WARNINGS
        
        # You can also make your code fail to compile if you use deprecated APIs.
        # In order to do so, uncomment the following line.
        # You can also select to disable deprecated APIs only up to a certain version of Qt.
        #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
        
        CONFIG += c++11
        
        SOURCES += \
                main.cpp \
                dialog.cpp
        
        HEADERS += \
                dialog.h
        
        FORMS += \
                dialog.ui
        
        # Default rules for deployment.
        qnx: target.path = /tmp/$${TARGET}/bin
        else: unix:!android: target.path = /opt/$${TARGET}/bin
        !isEmpty(target.path): INSTALLS += target
        
        

        By the way, when I choose compiler to arm64, an error arises.
        01485f12-b789-43a9-af3a-e85d10553e4c-image.png

        jsulmJ 1 Reply Last reply
        0
        • CN_CabbageC CN_Cabbage

          @jsulm
          Sorry jsulm, I'm very new to Qt, and I don't know how to show what symbols are not found.

          Below is my .pro file

          #-------------------------------------------------
          #
          # Project created by QtCreator 2022-07-19T09:17:19
          #
          #-------------------------------------------------
          
          QT       += core gui sql
          
          greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
          
          TARGET = bili_tedu_stu_score_mgn
          TEMPLATE = app
          
          # The following define makes your compiler emit warnings if you use
          # any feature of Qt which has been marked as deprecated (the exact warnings
          # depend on your compiler). Please consult the documentation of the
          # deprecated API in order to know how to port your code away from it.
          DEFINES += QT_DEPRECATED_WARNINGS
          
          # You can also make your code fail to compile if you use deprecated APIs.
          # In order to do so, uncomment the following line.
          # You can also select to disable deprecated APIs only up to a certain version of Qt.
          #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
          
          CONFIG += c++11
          
          SOURCES += \
                  main.cpp \
                  dialog.cpp
          
          HEADERS += \
                  dialog.h
          
          FORMS += \
                  dialog.ui
          
          # Default rules for deployment.
          qnx: target.path = /tmp/$${TARGET}/bin
          else: unix:!android: target.path = /opt/$${TARGET}/bin
          !isEmpty(target.path): INSTALLS += target
          
          

          By the way, when I choose compiler to arm64, an error arises.
          01485f12-b789-43a9-af3a-e85d10553e4c-image.png

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @CN_Cabbage said in symbol(s) not found for architecture x86_64:

          and I don't know how to show what symbols are not found

          It is just above what you already posted (in "Issues" panel)...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          CN_CabbageC 1 Reply Last reply
          0
          • jsulmJ jsulm

            @CN_Cabbage said in symbol(s) not found for architecture x86_64:

            and I don't know how to show what symbols are not found

            It is just above what you already posted (in "Issues" panel)...

            CN_CabbageC Offline
            CN_CabbageC Offline
            CN_Cabbage
            wrote on last edited by
            #5

            @jsulm Hi jsulm, appreciate for ur help. But there is Nothing above "Issues" panel. Edit panel is above the Issues panel.
            92383165-8c7a-4ad8-96f8-efe9a8bc2983-image.png

            It turns out I forgot to implement the function in .cpp file that declared in .h file.

            2587f143-a502-4a9f-8814-e4a07007afe2-image.png

            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