Hello
When building Dolphin no-gui for odroid n2+ on linux for EMUELEC and using the latest commits for example (0210d115c22a1c5745c76eaefe38b5d0af3247f9) I'm getting the following error and I can't complete the build. I would like to highlight that with commits from 5c24d7bd8d3ad3f39e2e139b4a41b744fa01b846 and before there are no issues.
Error
/MemoryWidget.cpp:108:21: error: 'class QComboBox' has no member named setPlaceholderText'
Trace of the failure
[5/76] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o
FAILED: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o
/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/bin/ccache /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/share/dolphin-emu/\" -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DSFML_STATIC -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_ARM_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Source/Core/DolphinQt/dolphin-emu_autogen/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/SFML/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/enet/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/External/minizip -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/soundtouch -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/libusb-1.0 -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/mbedtls/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/picojson -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Source/Core -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Source/Core/DolphinQt -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtGui/5.13.0 -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtGui/5.13.0/QtGui -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtCore/5.13.0 -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtCore/5.13.0/QtCore -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/minizip/. -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Externals/zlib-ng/zlib-ng -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/zlib-ng/zlib-ng -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/cubeb/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/exports -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/pugixml/. -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/mGBA/mgba/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Externals/mGBA/mgba/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/hidapi/hidapi -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/cpp-optparse/. -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/imgui -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/rangeset/include -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/glslang/glslang/Public -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/VideoCommon/SYSTEM -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtWidgets -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtGui -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtCore -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/../../../mkspecs/devices/linux-libreelec-g++ -march=armv8-a+crc+fp+simd -mabi=lp64 -Wno-psabi -mtune=cortex-a73.cortex-a53 -mno-outline-atomics -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -O3 -DNDEBUG -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include -march=armv8-a+crc -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -flto -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -fPIC -std=c++20 -MD -MT Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o -MF Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o.d -o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o -c /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp: In member function 'void MemoryWidget::CreateWidgets()':
/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp:108:21: error: 'class QComboBox' has no member named
setPlaceholderText'
108 | m_search_address->setPlaceholderText(tr("Search Address"));
Pls can you review the code to fix the issue?. thx
When building Dolphin no-gui for odroid n2+ on linux for EMUELEC and using the latest commits for example (0210d115c22a1c5745c76eaefe38b5d0af3247f9) I'm getting the following error and I can't complete the build. I would like to highlight that with commits from 5c24d7bd8d3ad3f39e2e139b4a41b744fa01b846 and before there are no issues.
Error
/MemoryWidget.cpp:108:21: error: 'class QComboBox' has no member named setPlaceholderText'
Trace of the failure
[5/76] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o
FAILED: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o
/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/bin/ccache /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/share/dolphin-emu/\" -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CRC32 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DSFML_STATIC -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_ARM_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Source/Core/DolphinQt/dolphin-emu_autogen/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/SFML/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/enet/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/External/minizip -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/soundtouch -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/libusb-1.0 -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/mbedtls/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/picojson -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Source/Core -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Source/Core/DolphinQt -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtGui/5.13.0 -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtGui/5.13.0/QtGui -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtCore/5.13.0 -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtCore/5.13.0/QtCore -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/minizip/. -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Externals/zlib-ng/zlib-ng -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/zlib-ng/zlib-ng -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/cubeb/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/exports -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/pugixml/. -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/mGBA/mgba/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/.aarch64-libreelec-linux-gnueabi/Externals/mGBA/mgba/include -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/hidapi/hidapi -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/cpp-optparse/. -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/imgui -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/rangeset/include -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Externals/glslang/glslang/Public -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/VideoCommon/SYSTEM -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtWidgets -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtGui -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/QtCore -isystem /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/../../../mkspecs/devices/linux-libreelec-g++ -march=armv8-a+crc+fp+simd -mabi=lp64 -Wno-psabi -mtune=cortex-a73.cortex-a53 -mno-outline-atomics -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -O3 -DNDEBUG -I/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include -march=armv8-a+crc -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -flto -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -fPIC -std=c++20 -MD -MT Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o -MF Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o.d -o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o -c /home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp: In member function 'void MemoryWidget::CreateWidgets()':
/home/kelv/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/dolphinSA-0210d115c22a1c5745c76eaefe38b5d0af3247f9/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp:108:21: error: 'class QComboBox' has no member named
setPlaceholderText'
108 | m_search_address->setPlaceholderText(tr("Search Address"));
Pls can you review the code to fix the issue?. thx