Questions about qt5 dynamic link library

27 views Asked by At

I'm more curious if it's possible to apply qt's dynamic link library (dll) to a normal cpp program.

For example, I wrote an interface on qt and then generated a dynamic link library, the function of this interface is just to display the input characters, and then use cpp to call this dynamic link library, and input the characters output from the cpp to qt's dynamic link library through the interface to finally display them through the interface.

1

There are 1 answers

1
Kandon-GD On

for what i know you just need to create a main.cpp file and use the funtion created with the qt library. Just remeber to tell your compiler where to find the headers and the dll's.