Tagged: cmake

0

QT Testing 1 – Do you trust your code? Here is the mighty QTest

In first post of testing series I’ve mentioned about multiple targets as a starting point. Now it’s time to add a class to show testing utility. In main target let’s have a class called Calculations. Goal is to test this Calculations class methods. Project source code can get from repository. There is a class in Main_Target to test our code and cover it up. It’s time to have a testing...

0

QT Testing 0 – Creating Multiple Targets with CMake

At first, I was about to start 1st chapter and talk about QT’s Testing with QTest. My aim is to use CMake instead of QMake, so unimportant side of community has issues about CMake. This is why first I will talk about multiple targets and why do we need it for testing. Sample code is available on GitHub Unit tests are about testing the class, methods your code. but you...

0

QT Deployment V – Separating Build and Install Time

It’s the last post of this deployment life cycle. In the 2nd chapter C QT Deployer tool were called in post build process. It is okay, but not that okay. Every build time it’s deploying package. In a light weighted QML application it doesn’t take much time, what about a complex project, is it nice to wait for several minutes? To prevent that build time and install time should be...

0

Installing OpenCV with Contrib Library for Linux

This post is for you, if you don’t know how to install a library from it’s source As I mentioned in this blog post I’m about to explain how to install OpenCV library with contrib library from it’s source. It’s also a way to install all libraries from newbies. For fresh installed Linux distro like Ubuntu you need to gear up your computer first Firstly, let’s update our computer for...