• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 6 7 8 9 10 ... 1197 Next »

Error during installation: ‘class QComboBox’ has no member named ‘setPlaceholderText’
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Error during installation: ‘class QComboBox’ has no member named ‘setPlaceholderText’
03-07-2023, 03:31 PM
#1
Griffin Offline
Junior Member
**
Posts: 1
Threads: 1
Joined: Mar 2023
Hi everyone,

I'm following the instructions here to install Dolphin on Ubuntu, and I'm encountering this error on the final step when I run "sudo make install":

Code:
[ 83%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o
/home/griffin/dolphin-emu/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp: In member function ‘void MemoryWidget::CreateWidgets()’:
/home/griffin/dolphin-emu/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp:108:21: error: ‘class QComboBox’ has no member named ‘setPlaceholderText’
 108 |   m_search_address->setPlaceholderText(tr("Search Address"));
     |                     ^~~~~~~~~~~~~~~~~~
make[2]: *** [Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/build.make:1476: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2256: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

I found this thread where someone said this error results from using an older version of Qt, but from the output of the dependency install command, it looks like I'm already using version 5.15:

Code:
qtbase5-dev is already the newest version (5.15.3+dfsg-2ubuntu0.2).
qtbase5-private-dev is already the newest version (5.15.3+dfsg-2ubuntu0.2).

I also found that "qmake -v" shows a version 5.9.7 Anaconda install:

Code:
QMake version 3.1
Using Qt version 5.9.7 in /home/griffin/anaconda3/lib

I'm not sure whether this is relevant or how to determine which version is being used.

I'd greatly appreciate any help with resolving this issue. Thank you!
Find
Reply
03-08-2023, 12:01 AM (This post was last modified: 03-08-2023, 12:05 AM by MayImilae.)
#2
MayImilae Offline
Chronically Distracted
**********
Administrators
Posts: 4,616
Threads: 120
Joined: Mar 2011
Dolphin currently uses Qt 6.3.0. What version of Dolphin are you trying to build?
[Image: RPvlSEt.png]
AMD Threadripper Pro 5975WX PBO+200 | Asrock WRX80 Creator | NVIDIA GeForce RTX 4090 FE | 64GB DDR4-3600 Octo-Channel | Windows 11 22H2 | (details)
MacBook Pro 14in | M1 Max (32 GPU Cores) | 64GB LPDDR5 6400 | macOS 12
Find
Reply
03-08-2023, 12:31 AM
#3
AdmiralCurtiss Offline
Member
***
Posts: 125
Threads: 0
Joined: Feb 2015
Some high version of Qt5 should also work. Qt 5.15 should work, so I'm guessing you have multiple Qt versions installed and CMake happens to pick the wrong one.
Find
Reply
03-08-2023, 02:06 AM
#4
GenerationI Offline
Junior Member
**
Posts: 33
Threads: 3
Joined: Oct 2022
Strange. I'm on Linux Mint 21 (based on Ubuntu) and I get this:

~$ qmake -v
QMake version 3.1
Using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu

I tried rebuilding and installing from scratch the current version of Dolphin just now and it worked. I don't know if this is relevant but I always pull the git submodules recursively with the the following command:

git submodule update --init --recursive

My only other guess atm is that it depends on which compiler you use, because some header files are sensitive to that.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode