Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOWTO: Qt4 & VS2015 #6

Open
district10 opened this issue Jul 10, 2016 · 0 comments
Open

HOWTO: Qt4 & VS2015 #6

district10 opened this issue Jul 10, 2016 · 0 comments

Comments

@district10
Copy link
Owner

Qt4 doesn't provide an official vs2015 prebuild, and you can't easily compile one yourself.

But it is possible. See http://whudoc.qiniudn.com/2016/vs2015-qt4-playground.zip (14 MB).

14 MB = 13.6 MB of qt4 prebuild (release version only, a tiny qt4!) + 1 demo qt project.

The README.txt inside is written in chinese, steps are:

  1. unzip qt4-vs2015x64.7z in current dir;
  2. open CMD: hold Shift, right click, then hit w, Enter;
  3. set environment varible: type in CMD "set PATH=%CD%\qt4-vs2015x64\bin;%PATH%"; (better add this path to %PATH%, it's needed at runtime too.)
  4. open cmake-gui: type in CMD "cmake-gui demo";
  5. build vs2015 project: 1) set build dir; 2) set compilation option to VS2015 WIN64; 3) configure, build;
  6. use vs2015 to open .sln file in build dir, build the release version (not debug!).

You should be able to build & run this qt4 project inside VS2015.

See more at qt4-vs2015x64/README.md at master · district10/qt4-vs2015x64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant