How to link external library to Qt project
-
Hi All,
I wanted to link external static library to Qt project. Library was developed in c++ and the IDE used was Eclipse. I had added the library to Qt project by using "Add library" option and added the dependent header file to project.
On building the project, i am getting below error
"Undefined reference to method function"
Here function is defined in library.Kit used for building project in QT was MINGW 32 bit.
Can you please help me in resolving the issue.
Thanking you in advance. -
Hi All,
I wanted to link external static library to Qt project. Library was developed in c++ and the IDE used was Eclipse. I had added the library to Qt project by using "Add library" option and added the dependent header file to project.
On building the project, i am getting below error
"Undefined reference to method function"
Here function is defined in library.Kit used for building project in QT was MINGW 32 bit.
Can you please help me in resolving the issue.
Thanking you in advance. -
Hi,
gcc compiler was used to build the library.Even i had tried to link the library which was built using Visual studio 2017 to Qt project. Here also i am getting "undefined reference error to method1" where method1 was defined in the library.
Please help me out.
-
Hi,
gcc compiler was used to build the library.Even i had tried to link the library which was built using Visual studio 2017 to Qt project. Here also i am getting "undefined reference error to method1" where method1 was defined in the library.
Please help me out.