Skip to content

Minimal Qt CMake project for Windows, OSX and Linux

License

Notifications You must be signed in to change notification settings

alexallmont/MinimalQt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Qt build with CMake

A simple 'hello world' app for Qt as a basis for GUI projects. This builds on Win32, OSX and Linux and demonstrates automatically deploying Qt dlls next to binary.

Ensure that CMAKE_PREFIX_PATH is in your path. For example, my Visual Studio 2015 install of Qt 5.10.1 is in D:\Qt\5.10.1\msvc2015, so to set up for Windows in Git Bash:

export PATH=/d/Qt/5.10.1/msvc2015/lib/cmake/Qt5Widgets:$PATH

Or in a standard Windows cmd.exe prompt:

set PATH=D:\Qt\5.10.1\msvc2015\lib\cmake\Qt5Widgets;%PATH%

And then run the standard CMake setup:

mkdir build
cd build
CMake ..

About

Minimal Qt CMake project for Windows, OSX and Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published