Solved Use dll created with Qt in std c++ application
-
I can use a dll created with Qt in a std c++ application right ?
That dll will contain functions to communicate with a tcp server, and return strings to user.
If i have a function returnig a string, it must be a std::string rather than QString also ? -
@LeLev said in Use dll created with Qt in std c++ application:
If i have a function returnig a string, it must be a std::string rather than QString also ?
Yes, if the other app is not going to use Qt then you can't use Qt data types in the public API of that lib.
-
@jsulm thank you