Skip to content

Instantly share code, notes, and snippets.

@gongzhitaao
gongzhitaao / CMakeLists.txt
Created October 7, 2013 04:23
A Minimum Working Example Using CMake to build project with Qt5 forms
# suppose you have created a ui file called configwin.ui
cmake_minimum_required (VERSION 2.6)
project(tst)
find_package(Qt5Widgets)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)