• 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 ... 8 9 10 11 12 ... 1197 Next »

Could NOT find QT (missing: QT_DIR)
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Could NOT find QT (missing: QT_DIR)
10-31-2022, 05:37 AM (This post was last modified: 10-31-2022, 02:33 PM by GenerationI.)
#1
GenerationI Offline
Junior Member
**
Posts: 33
Threads: 3
Joined: Oct 2022
Sad 
Sorry to trouble you again, but I can't find an answer anywhere to this problem.

When building 5.0-17764 in Linux Mint 20.3 this morning, I found it needed Qt 5.15 (which isn't available in 20.3). I installed Linux Mint 21 which has it, but when executing "cmake .." it fails because  it cannot find  Qt5.

My problem is, which of all the many Qt5 paths should I set QT_DIR to? Is there any particular Qt5 related dependency that I should install? I have the following ones at present:

libqt5core5a
libqt5dbus5
libqt5gui5
libqt5network5
libqt5svg5
libqt5widgets5

There are dozens of others in the repository, but I know almost nothing about Qt and I would appreciate any help at all. Thank you.
Find
Reply
10-31-2022, 02:47 PM (This post was last modified: 10-31-2022, 02:48 PM by mbc07.)
#2
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,577
Threads: 47
Joined: Dec 2010
AFAICT Dolphin fully switched to Qt6 on 5.0-16393, so unless you're trying to build Dolphin versions older than that, I don't think installing any of those Qt5 packages will help fixing the building process on your machine...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
10-31-2022, 05:11 PM
#3
GenerationI Offline
Junior Member
**
Posts: 33
Threads: 3
Joined: Oct 2022
Smile 
(10-31-2022, 02:47 PM)mbc07 Wrote: AFAICT Dolphin fully switched to Qt6 on 5.0-16393, so unless you're trying to build Dolphin versions older than that, I don't think installing any of those Qt5 packages will help fixing the building process on your machine...

Yes, I see now that Qt6 is included in the submodules, so I probably didn't need to upgrade to Linux Mint 21. I will study the build process more carefully. Thank you for your reply.
Find
Reply
11-01-2022, 03:41 AM
#4
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 5,953
Threads: 4
Joined: Sep 2013
You should install qt6-base-dev and qt6-base-private-dev
Find
Reply
11-01-2022, 04:54 AM
#5
GenerationI Offline
Junior Member
**
Posts: 33
Threads: 3
Joined: Oct 2022
Smile 
(11-01-2022, 03:41 AM)KHg8m3r Wrote: You should install qt6-base-dev and qt6-base-private-dev

Thank you very much! That solved the problem; I've now built 5.0-17772 successfully. I'll add them to my list of dependencies.
Find
Reply
11-01-2022, 05:18 AM
#6
JosJuice Online
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,946
Threads: 7
Joined: Oct 2014
(10-31-2022, 02:47 PM)mbc07 Wrote: AFAICT Dolphin fully switched to Qt6 on 5.0-16393, so unless you're trying to build Dolphin versions older than that, I don't think installing any of those Qt5 packages will help fixing the building process on your machine...

Dolphin still supports building with Qt 5.

(10-31-2022, 05:11 PM)GenerationI Wrote: Yes, I see now that Qt6 is included in the submodules, so I probably didn't need to upgrade to Linux Mint 21. I will study the build process more carefully. Thank you for your reply.

The submodule contains a precompiled Qt for Windows. It won't help on other operating systems.
Find
Reply
11-01-2022, 08:43 AM (This post was last modified: 11-01-2022, 02:54 PM by GenerationI.)
#7
GenerationI Offline
Junior Member
**
Posts: 33
Threads: 3
Joined: Oct 2022
(11-01-2022, 05:18 AM)JosJuice Wrote: Dolphin still supports building with Qt 5.


The submodule contains a precompiled Qt for Windows. It won't help on other operating systems.

Perhaps it would have worked with Qt 5.15, but it stopped working with Qt 5.12 because of this error:
‘class QComboBox’ has no member named ‘setPlaceholderText’
 108 |   m_search_address->setPlaceholderText(tr("Search Address"));
     |                     ^~~~~~~~~~~~~~~~~~
Migrating to Linux Mint 21 required a complete reinstallation, and I may have misssed out a dependency at first which was included in a later attempt. Still, having Qt6 and Mint 21 should future-proof my build environment for a while and give me more time to learn how everything works; then I may be better able to solve these problems myself. It is interesting to know that the precompiled Qt is for Windows only. (I stopped using Windows 10 for Dolphin because I found it sometimes caused network latency for the BBA, which I use a lot.)
Find
Reply
11-07-2022, 02:47 AM (This post was last modified: 11-07-2022, 05:41 AM by Bladeforce. Edit Reason: Update )
#8
Bladeforce Offline
Junior Member
**
Posts: 12
Threads: 3
Joined: Jan 2016
I am getting this error too after upgrading to KDE Neon 22.04

Could NOT find QT (missing: QT_DIR)

even though i have QT 5.15.7

I am wondering if this is a similar issue to what puNES had and solved here:

https://github.com/punesemu/puNES/issues/239#issuecomment-1304874580
Find
Reply
11-07-2022, 03:42 PM
#9
GenerationI Offline
Junior Member
**
Posts: 33
Threads: 3
Joined: Oct 2022
Have you got pkg-config installed? (Just a longshot - I'm new and not a developer.)
Find
Reply
11-09-2022, 04:28 AM (This post was last modified: 11-09-2022, 04:34 AM by KHg8m3r.)
#10
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 5,953
Threads: 4
Joined: Sep 2013
@bladeforce: If you just did a system update, you might want to remove your build folder `rm -rf <build_folder>`, then rerun cmake since your system build packages have changed. If that doesn't help, try updating to qt6 (your packages should be named the same as the ones I mentioned earlier).
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


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


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode