Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 69

Including uic auto generated header files in .cpp file

$
0
0
This may seem like a very stupid question, but I have a QT project that is built using rosbuild and CMake. The ui_form.h file is generated in the CMake build directory. I need to include this file in form.cpp to be able to access my buttons so I currently have (form.cpp is in a src subdirectory): #include "../build/ui_form.h" Is this the best way to do it since the build path could change? I could not think of any other way to do it, but I am sure I am missing something.

Viewing all articles
Browse latest Browse all 69

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>