You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! When compiling 0.9.20 using cmake, I ran into the following:
[ 52%] Building CXX object src/CMakeFiles/qtractor.dir/qtractorMidiEngine.cpp.o
cd /build/qtractor/src/qtractor-0.9.20/build/src && /usr/bin/c++ -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -I/build/qtractor/src/qtractor-0.9.20/build/src -I/build/qtractor/src/qtractor-0.9.20/src -I/build/qtractor/src/qtractor-0.9.20/build/src/qtractor_autogen/include -I/build/qt
ractor/src/qtractor-0.9.20/src/vestige -I/build/qtractor/src/qtractor-0.9.20/src/lv2 -I/usr/include/vst3sdk -isystem /usr/include/opus -isystem /usr/include/lilv-0 -isystem /usr/include/serd-0 -isystem /usr/include/sord-0 -isystem /usr/include/sratom-0 -isystem /usr/include/suil-0 -isystem /usr/include/qt -isystem /us
r/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtXml -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -msse -mfpmath=sse -ffast-math -fPIC -std=gnu++17 -o CMakeFiles/qtractor.dir/qtractorMidiEngine
.cpp.o -c /build/qtractor/src/qtractor-0.9.20/src/qtractorMidiEngine.cpp
/build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp: In member function ‘void qtractorLv2Plugin::lv2_ui_resize(const QSize&)’:
/build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp:4178:31: error: incomplete type ‘QWindow’ used in nested name specifier
4178 | QWindow *pWindow = QWindow::fromWinId(wid);
| ^~~~~~~~~
/build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp:4180:11: error: invalid use of incomplete type ‘class QWindow’
4180 | pWindow->resize(size);
| ^~
In file included from /usr/include/qt/QtGui/qpaintdevice.h:44,
from /usr/include/qt/QtGui/qpixmap.h:44,
from /usr/include/qt/QtGui/qicon.h:46,
from /usr/include/qt/QtGui/QIcon:1,
from /build/qtractor/src/qtractor-0.9.20/build/src/qtractor_autogen/include/ui_qtractorMainForm.h:35,
from /build/qtractor/src/qtractor-0.9.20/src/qtractorMainForm.h:25,
from /build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp:41:
/usr/include/qt/QtGui/qwindowdefs.h:54:7: note: forward declaration of ‘class QWindow’
54 | class QWindow;
| ^~~~~~~
/build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp:4181:4: warning: possible problem detected in invocation of ‘operator delete’ [-Wdelete-incomplete]
4181 | delete pWindow;
| ^~~~~~~~~~~~~~
/build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp:4178:12: warning: ‘pWindow’ has incomplete type
4178 | QWindow *pWindow = QWindow::fromWinId(wid);
| ^~~~~~~
In file included from /usr/include/qt/QtGui/qpaintdevice.h:44,
from /usr/include/qt/QtGui/qpixmap.h:44,
from /usr/include/qt/QtGui/qicon.h:46,
from /usr/include/qt/QtGui/QIcon:1,
from /build/qtractor/src/qtractor-0.9.20/build/src/qtractor_autogen/include/ui_qtractorMainForm.h:35,
from /build/qtractor/src/qtractor-0.9.20/src/qtractorMainForm.h:25,
from /build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp:41:
/usr/include/qt/QtGui/qwindowdefs.h:54:7: note: forward declaration of ‘class QWindow’
54 | class QWindow;
| ^~~~~~~
/build/qtractor/src/qtractor-0.9.20/src/qtractorLv2Plugin.cpp:4181:4: note: neither the destructor nor the class-specific ‘operator delete’ will be called, even if they are declared when the class is defined
4181 | delete pWindow;
| ^~~~~~~~~~~~~~
It appears that the include for QWindow is tied to the ifdef for CONFIG_LV2_UI_GTK2 in src/qtractorLv2Plugin.h, which seems not to be set (anymore?).
The text was updated successfully, but these errors were encountered:
Hey! When compiling 0.9.20 using cmake, I ran into the following:
It appears that the include for
QWindow
is tied to the ifdef forCONFIG_LV2_UI_GTK2
in src/qtractorLv2Plugin.h, which seems not to be set (anymore?).The text was updated successfully, but these errors were encountered: