Re: Qt + OpenCV, simple example
I've got the gcc from the original MinGW ( http://www.mingw.org/ ) ... install it, and put it's bin into the sys path
Added after 12 minutes:
but I have to admit that I really don't understand why it works with the other toolchain, and why dosen't with the original Qt's toolchain ...
Re: Qt + OpenCV, simple example
Quote:
Originally Posted by
stampede
Whats in this C:\Symbian\ directory ? Looks like it contains gcc and make that is used instead of your mingw binaries. Can you remove this directory from PATH and try again ?
Here is the content of my path variable
C:\Program Files\PC Connectivity Solution\;C:\Program Files\Common Files\Symbian\Tools;C:\Python25\Lib\site-packages\PyQt4\bin;C:\Perl\site\bin;C:\Perl\bin;%S ystemRoot%\system32;%SystemRoot%;%SystemRoot%\Syst em32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\ v1.0\;C:\Windows\system32\Wbem;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\QuickTime\QTSystem\;c:\qtsdk\desktop\qt\4.7. 2\mingw\bin;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\QtSDK\Desktop\Qt\4.7.3\ming w\bin\;C:\Python2.7;C:\OpenCV2.2\bin
I tried to remove it and check if will solve the problem, but still the same output.
regards,
lam-ang
Re: Qt + OpenCV, simple example
Ok, so try to rename this folder or even remove it if you dont need it, looks like its messing up your configuration.
It very simple, you just have to download mingw (linked above) or use mingw from SDK, add mingw/bin folder to PATH and you're done. Just try to remove/remove from PATH/rename all other folders that contains some crappy mingw executables.
2 Attachment(s)
Re: Qt + OpenCV, simple example
Quote:
Originally Posted by
stampede
Ok, so try to rename this folder or even remove it if you dont need it, looks like its messing up your configuration.
It very simple, you just have to download mingw (linked above) or use mingw from SDK, add mingw/bin folder to PATH and you're done. Just try to remove/remove from PATH/rename all other folders that contains some crappy mingw executables.
Hi, I got the gcc -v running on the teminal..so I tried to to run
1. qmake (no error)
2. make (error displayed)
I still have problem issuing the make command..please check attachement.
regards,
lam-ang
Re: Qt + OpenCV, simple example
I made a mistake in issuing the qmake command it should be c:\opencvprojects\myqtconsoleproject\qmake - results has no error. But again issuing the make command give me "make is not recognized as internal or external command"
Re: Qt + OpenCV, simple example
Start the command prompt from the item under Qt SDK in the Windows Start menu. Then you have everything you need in the path:
Code:
D:\Work> qmake
D:\Work> mingw32-make
Re: Qt + OpenCV, simple example
Hi, thanks for the time and support everyone...I appreciate it very much..I'll try something else and post it here my results.
Re: Qt + OpenCV, simple example
Hi stampede,
I wish ask for your support to a little issue regarding a feature not allowed to your ( excelent ) sample project.
That´s the Go to slot...
Could you please provide some guideline about how I could solve that ?
+++
Re: Qt + OpenCV, simple example
To be honest I don't know what you mean by "Go to slot", can you provide more details ?
Re: Qt + OpenCV, simple example
Hi,
Sorry if I was not so clear.
I meant that once an object is selected ai UI form, occurs an error :
http://www.teprom.eng.br/arquivos/qt/h.bmp
http://www.teprom.eng.br/arquivos/qt/g.bmp
I search about the solution here at the forum.
However, the solution can be reached automactly just creating a new project with Wizard tool.
But, the structure directory is different from that in design.
I tryed to undestand what declaration is missing.
Thanks.
+++
Re: Qt + OpenCV, simple example
I dont know anything about that, I've used Geany + command line while creating and testing the project.
If creating new project works ok, then create new project and copy the files, directory structure is not important when you run the program.
Re: Qt + OpenCV, simple example
The problem is there are many files with different contents , and I wold have to search line-by-line.
I don´t want to kill the directory structure you had created, that is very well organized.
For while, I will keep the structure and choice to loose the function.
Thanks.
Re: Qt + OpenCV, simple example
This is a huge start - pretty comprehensive too. However, the current version (2.4.5) for windows contains different tree structure. For example, the paths in the win32 block in the .pro file is listed as:
Code:
win32 {
CV11_INCLUDE = C:/OpenCV
CV11_LIB = C:/OpenCV/lib
CV22_INCLUDE = C:/OpenCV2.2/modules
CV22_LIB = C:/OpenCV2.2/build/bin
}
In the current version the bin folder is c:\opencv\build\x86\vc10\bin. There are also a lib and staticlib folder there. Accordingly, there is also folders for other compilers as well as an x64 + compilers. The include folder is located off the build folder. These paths have to be changed in order to use the latest version.
With that accomplished though, there are numerous build errors. If you were to grab the latest version, you would see that as well
Re: Qt + OpenCV, simple example
thanks for this great work , the camera button worked perfectly but when i click on load file i get nothing just a blank window , what could be the problem , i'm working on ubuntu 14.04 with opencv 2.4.10
thanks a lot