Skip to content

Conversation

@pierrewillenbrockdfki
Copy link

No description provided.

haider8645 and others added 24 commits March 28, 2022 13:58
…e/qt5

Use qt5-designer as package dependency
This is not a tutorial about using opengl, it does not showcase
how to use opengl, and does not include qt-opengl correctly.
Realizing that this is to be replaced entirely later.
This is not a tutorial about using opengl, it does not showcase
how to use opengl, and does not include qt-opengl correctly.
@pierrewillenbrockdfki
Copy link
Author

@planthaber please take a look and merge. Afterwards, the qt5 branch is merged and obsolete. We'd need to check if it is referenced anywhere and then delete.

# the INSTALLED_HDRS do not use them.
LIBS_QT4 Qt4::QtDesigner
LIBS_QT5 Qt5::UiPlugin
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here LIBS_QT4 above is used twice, so it could either be one call or the above shloud be different to add these into the pc file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first instance of that is for the option of either using LIBS_QT4 with Qt targets and supplying the pkg-config yourselves or using DEPS_PKGCONFIG but not having cmake check if one tries to link different Qts into the same binary.

The second instance of LIBS_QT4 is correct here since one only needs the pkgconfig requires: for things that are exported in headers(so the users of the headers link anything extra needed from the libraries by the headers), but the plugin-header does not need to be exported. I don't see a use-case where one would directly use the plugin-object instead of going through the plugin system. This may change when i find out how to statically add plugins to binaries.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So they aren't combined in a single (LIBS_QT4 Qt4::QtCore Qt4::QtGui Qt4::QtDesigner) line for documentation reasons?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats my idea here, yes.

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.

3 participants