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. How can Solve error on MAC os? Error:symbol s not found for architecture x86_64 clang
Forum Updated to NodeBB v4.3 + New Features

How can Solve error on MAC os? Error:symbol s not found for architecture x86_64 clang

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 3 Posters 1.6k 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.
  • Y Offline
    Y Offline
    Yash001
    wrote on last edited by
    #1

    I am using
    complier: Clang
    OS: MAC

    Error:

    0_1515536945814_29b6d859-8a7e-47f8-828d-673ccbd96c4f-image.png

    Complie Output

    0_1515536871426_fab80866-b88e-438f-9641-89ababc3670a-image.png

    .pro File

    0_1515537035613_2b9463fa-8165-426b-84d7-dbf4f84d448e-image.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Where does HwListButton::SetColorState come from ?

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

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        Yash001
        wrote on last edited by
        #3

        Thank you sir.
        I have separate class for setcolorstate Function. here the defination of setcolorstate function.
        0_1515539358250_07fdbad5-443c-4bbd-9055-e7e1660240ce-image.png

        jsulmJ 1 Reply Last reply
        0
        • Y Yash001

          Thank you sir.
          I have separate class for setcolorstate Function. here the defination of setcolorstate function.
          0_1515539358250_07fdbad5-443c-4bbd-9055-e7e1660240ce-image.png

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

          @Yash001 In your pro file I cannot see any source files being added. Did you add the source file containing HwListButton class definition?

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

          Y 1 Reply Last reply
          1
          • jsulmJ jsulm

            @Yash001 In your pro file I cannot see any source files being added. Did you add the source file containing HwListButton class definition?

            Y Offline
            Y Offline
            Yash001
            wrote on last edited by
            #5

            @jsulm _Squdstat.pri file has all the source files, header files, and resource files. Squidstat.pri is already included into .pro file. include <_Squdstat.pri> is not present in image of .pro file.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              From the looks of it, you are not compiling the file defining that class.

              Can you show the complete listing of all the .pro and .pri files involved ?

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

              Y 1 Reply Last reply
              0
              • SGaistS SGaist

                From the looks of it, you are not compiling the file defining that class.

                Can you show the complete listing of all the .pro and .pri files involved ?

                Y Offline
                Y Offline
                Yash001
                wrote on last edited by
                #7

                Thank you so much @SGaist ,@jsulm. I sloved this error by modify my code. I am intrested to learn more about platform specific API in Qt. If know any Documents or any online link then it would be very helpful.
                Thank you again @jsulm , @SGaist.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  What do you mean by "platform specific API in Qt" ?

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

                  Y 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    What do you mean by "platform specific API in Qt" ?

                    Y Offline
                    Y Offline
                    Yash001
                    wrote on last edited by
                    #9

                    @SGaist some QT Function are only work into Windows only, Some QT Function are work into MAC os. Here I found Some Specific api. I want to learn in more detail.

                    0_1515620411389_baa9c7a1-c4d7-40f4-85e5-d168abefcf29-image.png

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Then you have to go read the platform reference documentations for the classes you are interested in.

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

                      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