Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alexandre-janniaux/05ff1d6110c52a978fe2e7c1bf7f97ee to your computer and use it in GitHub Desktop.
Save alexandre-janniaux/05ff1d6110c52a978fe2e7c1bf7f97ee to your computer and use it in GitHub Desktop.
../../qrenderdoc/Windows/Dialogs/PerformanceCounterSelection.cpp: In member function ‘void PerformanceCounterSelection::Load()’:
../../qrenderdoc/Windows/Dialogs/PerformanceCounterSelection.cpp:441:51: error: ‘QList<T> QSet<T>::toList() const [with T = GPUCounter]’ is deprecated: Use values() instead. [-Werror=deprecated-declarations]
441 | SetSelectedCounters(selectedCounters.toList());
| ^
In file included from /usr/include/qt/QtCore/QSet:1,
from ../../qrenderdoc/Windows/Dialogs/PerformanceCounterSelection.cpp:27:
/usr/include/qt/QtCore/qset.h:251:14: note: declared here
251 | QList<T> toList() const { return values(); }
| ^~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment