Use dll created with Qt in std c++ application
-
wrote on 14 Jun 2019, 08:48 last edited by
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 ? -
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.
1/3