Category: Programming

Install Python and OpenCV in VS Code

Install Python for Windows Select working dir Create a file run command in VS Code terminal and select this working dir as a virtual path for python and dependenciespy -3 -m venv .venv.venv\scripts\activate pip install opencv-python or pip install opencv-contrib-python pip install matplotlib pip install numpy pip install opencv-python pip install scipy run ‘play’ …

Continue reading

How to Generate MOC Files for Headers and UI Files for Designs using Q_OBJECT in Visual Studio C++

Finally found a solution to get rid of Qt Creator forever. I really like to use visual studio which is far more convenient and with better features than Qt Creator. May be I am just addicted to it VS that’s why. Anyways… ************************************************************************/ /* How to generate Qt Moc files in Visual Studio 2010, 2012, …

Continue reading