Embedding PCL Viewer on a Qt GUI Main Window

前端 未结 2 2065
再見小時候
再見小時候 2021-01-01 02:19

I am trying to develop a user interface using QtCreator on a Windows 7 64-bit machine. This user interface will be deployed on a 32-bit Windows 7 machine, and will control a

2条回答
  •  再見小時候
    2021-01-01 02:43

    Look at the kind of minimal code I put here (PCL Viewer with Qt GUI minimal code). There are some redundancies, but the code I believe is pretty straightforward.

    The main idea is to put the files in the one folder and start project from CMakeLists.txt (Qt cmake wizard).

    I use build directory inside project dir. (this is important, because in pclwindow.cpp I hardcoded the path to the generated file #include "build/ui_pclwindow.h"

    If app builds, but crashes you'll probably need to add some dependencies (e.g. dll files on Win platform)

    I hope it will give you fast and simple start!

提交回复
热议问题