Skip to content

Conversation

@sotlampr
Copy link

Currently, even only using the CLI has dependency on Qt. This is a set of changes so the project can build without Qt.

Overview:

  • We conditionally include all Qt parts in CmakeLists.txt
  • We define BUILD_GUI preprocessor macro to control the flow

The most hairy part is this:

#ifndef BUILD_GUI
typedef cv::String QString;
#endif

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

Successfully merging this pull request may close these issues.

1 participant