Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Cannot link libs statically

$
0
0
Hello, I’ve been attempting to deploy a static application with Windows, and have already built Qt statically. I was following this [qt-project.org] tutorial, and I created a kit using my dynamic Qt’s mingw32 compiler and my static Qt’s qmake from C:\Qt\Static\5.2.0\bin, which was created during the static build. However, when I try to run the project, I get several errors with the OpenCV libraries that I’m trying to link, such as “cannot find -lopencv_calib3d300”. The ridiculous part is that I have no issues running this project if I switch the kit to another which uses the same compiler, but a different qmake, so I’m pretty sure that my .pro file is correct. I’m not sure if the qmake that comes with the static build is causing issues or if it’s something else. I’d really appreciate it if someone could help me figure out this issue!

Viewing all articles
Browse latest Browse all 2113

Trending Articles