how to build openPose in QT Project? - c++

I'm Student, in Korea.
um..sorry about that I am not good in English.
so I used translate program KOR to ENG.
I succeed test opnePose demo.
I want to build openPose GUI Program.
But, I can't build project openPose with QT.
Cannot find with_qt in cmake-gui.
enter image description here
how to build openPose project with QT?
Help me please..I stayed up three nights...
I want to complete this project.
*Development Environment
Win 10 64 Pro
Visual Studio 2017 Community
CMake 3.13.3
Openpose 1.4.0
CUDA 8.0.61 win 10
Cudnn 8.0 win 10 64 v5.1

I believe your question is how to enable QT in the OpenCV that openpose uses. You are looking for a WITH_QT option as you saw in OpenCV, but one is not present in OpenPose.
This is because openpose does not come with opencv, but will use the opencv that you provide it. If you have built opencv with Qt, provide that version to openpose by setting the OpenCV_DIR to the path of your OpenCV install.

Related

Do I need to install Mingw compiler components in Qt installation if i had already installed Mingw in my computer?

I installing Qt open source framework in my window 10 pc. I already downloaded Mingw compiler and installed it to write C/C++. Now I wanna learn QT framework. I using Qt online installer. I choice to download custom compoment. Do I need to selet mingw component to download if i had already installed?
Note that there's not just one MinGW distribution and version out there. You can check out the exact supported version per Qt release at https://wiki.qt.io/MinGW .
Anyhow, if you install the pre-built Qt binaries via the online installer, the matching MinGW version will automatically be installed for you, and will be registered in Qt Creator so that things just work. There is actually no official way to prevent this.

tesseract.lib (version 4 ) for windows 10 (x64)

I find just Tesseract.lib (version 4.0.0) for windows10(x86) but I dont't find it for windows10(x64) .
So how can I get it or download it ? and how I integrate it with C++ project (Cmake Project) ?
tesseract-ocr project does not provide binary release - best way is to compile by yourself.
There are several ways/help tools (cppan, sw, vcpkg). If you want to have whole process under control you can get inspiration at blog (Building tesseract and leptonica with CMake and Clang on Windows)3 - (clang can be easily replaced with msvc or mingw - in tesseract issue tracker there are described experiences with android cross building.

CMake options for Interfacing Qt 5.2.1 (MSVC 2012) with OpenCV

I'm trying to make OpenCV 2.4.9 work with Qt 5.2.1 (MSVC 2012).
My question is that is it necessary to build the OpenCV libraries from scratch to make them work with QT (Since a pre compiled version with VC 11 is already provided). If this is not the case, how should I build my OpenCV library with CMake? Should I enable the 'WITH_QT' option or not?
I'm working on windows 7.
"is it necessary to build the OpenCV libraries from scratch to make them work with QT" - yes, definitely.
" Should I enable the 'WITH_QT' option" - yes. (and check the cmake output carefully, if it found/accepted your QT install)

libVLC integration in Qt

I'm using Qt Creator 5.2 and want to integrate libVLC in my own project. So I downloaded the source of libVLC (for Qt) and also the VLC player itself. I think that I have to build the libVLC source to transform into a libary. But I don't know how to do this. I see that there's a CMakeLists.txt, but as far as I know I can not use CMake to build pro file for QT Creator, but only a sln file for Microsoft VS (which I don't use). Can anybody tell me how to build libVLC?
Thank you
Qt Creator has support for CMake projects
You may build the library using CMake itself
If you're on Linux, then your distribution likely has libvlc and its development headers built and packaged, just search for it in a software center or command-line meta-package manager like apt or yum. If you're on Windows, bad luck :) , you have to build it yourself from sources :)

Qt error after switch to ITK 4

We have a Windows7 VS2008 C++ app that uses both ITK 3.10.1 and Qt 4.5. We run CMake 2.6-patch 4 to generate both ITK and our app C++ projects, and everything run OK.
Now I switch to ITK 4.1.0, and to do this I had to upgrade CMake from 2.6 to 2.8 and generate ITK 4.5 and our app with this CMake. Now ITK compiles OK, but the app does not. The error dialog reads "There is no Qt version assigned to this project for platform Win32. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.".
The platform was Win32 and still is; the computer is the same, and I did not touch Qt. Obviously I did not do something that should be done or did something that should not.
Any help will be highly appreciated.
Regards.
Mike