You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced the same issue and I finally used the solution suggested by @azadkuh. I added CONFIG += staticlib in src/src.pro and then xbin/libqhttp.a is generated in addition to the shared library. To link, use -l:libqhttp.a instead of -lqhttp.
It was surprising generated makefiles does not install library/headers into system. Instead it creates some xbin and install there.
Please make proper installation
Where /usr prefix may be redefined and full path to lib directory may be redefined as well.
So project file should use PREFIX and LIBDIR variables passed to qmake and use some default values is not passed.
The text was updated successfully, but these errors were encountered: