Created
May 8, 2014 00:46
-
-
Save jeffbaumes/33adb3ff52f5c6384f02 to your computer and use it in GitHub Desktop.
Minimal VTK and Qt project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8) | |
find_package(VTK REQUIRED) | |
include(${VTK_USE_FILE}) | |
find_package(Qt4 REQUIRED) | |
include(${QT_USE_FILE}) | |
add_executable(main main.cxx) | |
target_link_libraries(main ${VTK_LIBRARIES} ${QT_QTGUI_LIBRARY}) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QVTKWidget.h> | |
int main() | |
{ | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment