Solved How can Solve error on MAC os? Error:symbol s not found for architecture x86_64 clang
-
I am using
complier: Clang
OS: MACError:
Complie Output
.pro File
-
Hi and welcome to devnet,
Where does
HwListButton::SetColorState
come from ? -
Thank you sir.
I have separate class for setcolorstate Function. here the defination of setcolorstate function.
-
@Yash001 In your pro file I cannot see any source files being added. Did you add the source file containing HwListButton class definition?
-
@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.
-
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 ? -
-
What do you mean by "platform specific API in Qt" ?
-
@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.
-
Then you have to go read the platform reference documentations for the classes you are interested in.