First run with Qt 6
-
First run with Qt 6.
Still use QTextCodec
-
-
Yes, I was surprised that it hasn't already been done considering that there have been Qt 6 alpha and beta releases available for a long time. They are usually very quick to update things in homebrew.
It wasn't too hard to make it work. There were a couple of compile errors that I fixed.
I submitted a PR to add qt 6 to homebrew: https://github.com/Homebrew/homebrew-core/pull/67536 -
You can try this one if you want:
https://files.strawberrymusicplayer.org/strawberry-0.8.5.22.g3ae90922-qt6-catalina.dmgI notice there is a problem with "search for album covers", the dialog does not open.
-
The search for covers dialog does not open with Qt 5 either, maybe it's something to do with the screen resolution in VirtualBox. Does it open for you?
-
I just tried to run that build but I'm already using Big Sur and it crashes on launch.
18:09:59.877 INFO main:167 Strawberry 0.8.5-22-g3ae90922 18:09:59.941 INFO main:168 "macOS 11.1 11.1 - (darwin 20.2.0) [x86_64]" 18:09:59.941 DEBUG Utilities:814 Max fd: 10240 18:10:00.131 DEBUG main:194 Looking for resources in "/Volumes/strawberry/strawberry.app/Contents/MacOS/../PlugIns" 18:10:00.133 DEBUG main:209 Style: "macos" 18:10:00.219 DEBUG Application:254 Database(0x7fc7d366cc10) moved to thread QThread(0x7fc7d35992c0) 18:10:00.223 DEBUG SCollection:63 CollectionBackend(0x7fc7d366cb00) moved to thread QThread(0x7fc7d35992c0) 18:10:00.223 WARN IconLoader:123 Couldn't load icon "document-open-folder" from custom icons. 18:10:00.283 WARN IconLoader:123 Couldn't load icon "folder-sound" from custom icons. 18:10:00.283 WARN IconLoader:123 Couldn't load icon "cdcase" from custom icons. 18:10:00.319 DEBUG Application:254 AlbumCoverLoader(0x7fc7d35ae750) moved to thread QThread(0x7fc7d3599d00) 18:10:00.328 WARN IconLoader:123 Couldn't load icon "cdcase" from custom icons. 18:10:00.341 DEBUG SCollection:95 CollectionWatcher(0x7fc7d3732080) moved to thread QThread(0x7fc7d35964d0) 18:10:00.361 DEBUG GstStartup:117 Setting GIO module path to "/Volumes/strawberry/strawberry.app/Contents/MacOS/../PlugIns/gio-modules" 18:10:00.361 DEBUG GstStartup:127 Setting GStreamer plugin scanner to "/Volumes/strawberry/strawberry.app/Contents/MacOS/../PlugIns/gst-plugin-scanner" 18:10:00.361 DEBUG GstStartup:137 Setting GStreamer plugin path to "/Volumes/strawberry/strawberry.app/Contents/MacOS/../PlugIns/gstreamer" 18:10:00.361 DEBUG GstStartup:148 Setting GStreamer registry file to "/Users/llucps/Library/Application Support/Strawberry/Strawberry/gst-registry-0.8.5-22-g3ae90922-bin" 18:10:00.365 DEBUG Application:254 TagReaderClient(0x7fc7d37331f0) moved to thread QThread(0x7fc7d3731430) 18:10:00.371 DEBUG >:287 Starting worker 0x70000f4c5880 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_199464296" 18:10:00.379 DEBUG >:287 Starting worker 0x70000f4c5880 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_848222005" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.445 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting 18:10:00.445 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_1416756479" 18:10:00.448 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.450 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_1558449727" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.470 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting 18:10:00.471 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-1090166789" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.482 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.482 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-781761585" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.506 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting 18:10:00.506 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_223199344" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.526 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.527 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-1340227666" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.530 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting 18:10:00.531 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-1742764523" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.547 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.547 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-1480727295" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.627 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.628 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-1106534511" 18:10:00.630 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting 18:10:00.630 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_1952217526" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.647 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.647 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-1603340016" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.656 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting 18:10:00.656 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_-1505453661" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.672 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.672 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_177239527" 18:10:00.674 WARN mpris::Mpris2:114 Failed to register "org.mpris.MediaPlayer2.strawberry" on the session bus dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.679 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.695 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_1848989779" 18:10:00.696 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.697 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_752396561" dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.711 DEBUG >:343 Worker 0x7fc7d3431ba0 failed with error QProcess::Crashed - restarting 18:10:00.712 DEBUG >:287 Starting worker 0x7fc7d3431ba0 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_1652178441" 18:10:00.714 WARN IconLoader:123 Couldn't load icon "document-open" from custom icons. 18:10:00.716 WARN IconLoader:123 Couldn't load icon "document-save" from custom icons. 18:10:00.717 WARN IconLoader:123 Couldn't load icon "download" from custom icons. 18:10:00.719 WARN IconLoader:123 Couldn't load icon "search" from custom icons. 18:10:00.720 WARN IconLoader:123 Couldn't load icon "list-remove" from custom icons. 18:10:00.721 WARN IconLoader:123 Couldn't load icon "zoom-in" from custom icons. dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found 18:10:00.721 DEBUG >:343 Worker 0x7fc7d3431b80 failed with error QProcess::Crashed - restarting 18:10:00.722 DEBUG >:287 Starting worker 0x7fc7d3431b80 "strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_1672682107" 18:10:00.726 DEBUG GlobalShortcutBackendKDE:49 Registering dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.23.dylib Referenced from: /usr/local/bin/strawberry-tagreader Reason: image not found Segmentation fault: 11
Not sure whether this happens because Big Sur?
P.D. I could open the search cover dialog just fine.. but I see you already fix it today. To tell you the truth I've never used that option.
Thanks.
-
@llucps said in First run with Qt 6:
/usr/local/bin/strawberry-tagreader
Looks like the dmg is missing dependencies including strawberry-tagreader
So it picks up an old version from /usr/local/bin/strawberry-tagreader instead which might be the reason it crashes too.
I'll look into it tomorrow and create a new one. -
@jonas Thanks!
-
-
@jonas um.. not yet
12:27:09.502 INFO main:167 Strawberry 0.8.5-29-g514becc5 12:27:09.503 INFO main:168 "macOS 11.1 11.1 - (darwin 20.2.0) [x86_64]" 12:27:09.503 DEBUG Utilities:814 Max fd: 10240 12:27:09.596 DEBUG main:194 Looking for resources in "/Applications/strawberry.app/Contents/MacOS/../PlugIns" 12:27:09.599 DEBUG main:209 Style: "macos" 12:27:09.604 INFO Database:150 Creating initial database schema 12:27:09.613 INFO Database:428 Updating "playlist_items" for %allsongstables 12:27:09.617 DEBUG Application:254 Database(0x7faa09ea2650) moved to thread QThread(0x7faa09db8940) 12:27:09.617 DEBUG SCollection:63 CollectionBackend(0x7faa09e86e00) moved to thread QThread(0x7faa09db8940) 12:27:09.623 DEBUG Application:254 AlbumCoverLoader(0x7faa09dbbc20) moved to thread QThread(0x7faa09dbdd90) 12:27:09.631 DEBUG SCollection:95 CollectionWatcher(0x7faa09dc6130) moved to thread QThread(0x7faa09dc54b0) 12:27:09.631 DEBUG GstStartup:117 Setting GIO module path to "/Applications/strawberry.app/Contents/MacOS/../PlugIns/gio-modules" 12:27:09.631 DEBUG GstStartup:127 Setting GStreamer plugin scanner to "/Applications/strawberry.app/Contents/MacOS/../PlugIns/gst-plugin-scanner" 12:27:09.632 DEBUG GstStartup:137 Setting GStreamer plugin path to "/Applications/strawberry.app/Contents/MacOS/../PlugIns/gstreamer" 12:27:09.632 DEBUG GstStartup:148 Setting GStreamer registry file to "/Users/llucps/Library/Application Support/Strawberry/Strawberry/gst-registry-0.8.5-29-g514becc5-bin" 12:27:09.633 DEBUG Application:254 TagReaderClient(0x7faa09dc7770) moved to thread QThread(0x7faa09dc7b50) 12:27:09.634 DEBUG >:243 Using worker "strawberry-tagreader" from "/Applications/strawberry.app/Contents/MacOS/../PlugIns" 12:27:09.634 DEBUG >:292 Starting worker 0x70000d08d868 "/Applications/strawberry.app/Contents/MacOS/../PlugIns/strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_18968978" 12:27:09.638 DEBUG >:292 Starting worker 0x70000d08d868 "/Applications/strawberry.app/Contents/MacOS/../PlugIns/strawberry-tagreader" "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_18268763" 12:27:09.689 INFO main:56 TagReader worker connecting to "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_18968978" 12:27:09.693 DEBUG >:311 Worker 0x7faa09ea9410 connected to "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_18968978" 12:27:09.695 INFO main:56 TagReader worker connecting to "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_18268763" 12:27:09.697 DEBUG >:311 Worker 0x7faa09ea9430 connected to "/private/var/folders/c4/1hsjl1rx49z4lwj3xgn78xdm0000gn/T/strawberry_18268763" 12:27:09.699 WARN mpris::Mpris2:114 Failed to register "org.mpris.MediaPlayer2.strawberry" on the session bus 12:27:09.703 DEBUG GlobalShortcutBackendKDE:49 Registering Segmentation fault: 11
-
@llucps
The tagreader worker issue is fixed. The crash is probably the same as reported in https://forum.strawberrymusicplayer.org/topic/131/strawberry-for-macos-big-sur/3
Maybe some of the core libraries on Catalina and Big Sur are not binary compatible.
I don't have Big Sur to test on.
Does it show a backtrace? -
@jonas
This is what I get.. but don't worry if it's too complicated.. I can wait until we get a QT6 build that works with Big Sur.I've been using the 0.8.5 builds with Big Sur just fine, I justed wanted to test if the responisveness has been improved because ofthe use of Metal in QT6
-
@llucps
Yeah, that's why I made different releases for each macOS version now.
The only problem with that is that I can no longer update the sparkle updater, since that would update for those that have Big Sur to the Mojave or Catalina builds. But maybe there is a solution for that I'm not a aware of. -
I wonder if I can just build on Big Sur and set CMAKE_OSX_DEPLOYMENT_TARGET to 10.14
https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_DEPLOYMENT_TARGET.html -
@jonas Is there something I can do to help?
-
@llucps I realize it won't work because all the libraries used from homebrew are compiled on Big Sur with no comparability.
-
Hi Jonas, is there a working test build of Strawberry using QT6 on Catalina I can download and test, or are there unresolvable problems with QT6 on MacOS preventing that? I tried the dmg provided above, and it instantly crashes on launch with a Bad Access/Segmentation Fault. This is on my iMac running Catalina 10.15.7, so the crashing problems described above are not limited to Big Sur.
-
@tibokan
I switched to Qt 6 now. 0.8.5.131 and newer are Qt 6 and should be working: https://builds.strawberrymusicplayer.org/macos
(The ones from yesterday are broken because of a problem deploying plugins after I switched to Qt6)