1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Qt5 + qmake + Windows + OpenGL でビルド

Last updated at Posted at 2016-12-05

最近、MayaとQtを使った独自ビューワー組み込み検証の覚書です。
まずは、Qt5 + qmake + Windows + OpenGL を使用する環境でビルドを通すのに苦労したので、
必要な設定は、.pro ファイルに以下を最低限追加すればビルドが通りました。

開発環境

  • Windows7 SP1 Pro
  • VisualStudio2015 Pro
  • Qt5.7
opengl.pro
QT += opengl

win32 {

LIBS += opengl32.lib

}

参考にしたのは以下
http://stackoverflow.com/questions/31688370/qt-5-5-with-qmake-linker-cannot-resolve-opengl-function-calls

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?