Qt Online/Offline installers getting stuck on Mac
-
I've tried several times both online and offline installers for 5.12.1 on a Mac Mini 2018 running Mojave (all updates applied). The installation randomly stucks after a while - for online installer its after it downloads all files and starts installation. Clicking on "Show details" doesn't show any errors/warnings, just a list of files that have been copied so far.
-
Turns out it was a folder permission issue - in some way. The folder I was trying to deploy to was /Developer/Qt. Weird thing is it wasn't failing initially but halfway through and Not displaying any error messages.
Would be nice if the installer checked for all necessary permissions to the destination folder. I ended up deploying to /Users/<account>/Qt and it worked on the first try, only took around 15-20 mins.
-
@Taytoo
I had this recently when I installed the "sources" via the online installer. Unpacking the zip files took forever and it seemed like it wouldn't work.Ended up unpacking the zip files for 3 hours straight. Very strange indeed, but it doesn't stop working.
-
@J.Hilk said in Qt Online/Offline installers getting stuck on Mac:
@Taytoo
I had this recently when I installed the "sources" via the online installer. Unpacking the zip files took forever and it seemed like it wouldn't work.Ended up unpacking the zip files for 3 hours straight. Very strange indeed, but it doesn't stop working.
Are you talking about the first step where Mac unzips files or second step where Qt installer is "Installing component sources", which one got stuck? the first one took 5 mins or so, but second one is the one I'm having issue with.
-
Hi,
Did you try changing the mirror used by your installer ? You might be hitting a faulty one.
-
Not change the installer, the mirror it use.
See the QtSdkRepoChooser project.
-
@SGaist the OP manages to complete all downloads, so the Qt SDK Repo Chooser won't help here.
@Taytoo, which package(s) are you trying to install? If you just ask the online installer to just install Qt Creator only, it might complete faster.
@J.Hilk said in Qt Online/Offline installers getting stuck on Mac:
Ended up unpacking the zip files for 3 hours straight. Very strange indeed, but it doesn't stop working.
This sounds very weird. Could it be an antivirus or security scanner or similar?
-
-
Turns out it was a folder permission issue - in some way. The folder I was trying to deploy to was /Developer/Qt. Weird thing is it wasn't failing initially but halfway through and Not displaying any error messages.
Would be nice if the installer checked for all necessary permissions to the destination folder. I ended up deploying to /Users/<account>/Qt and it worked on the first try, only took around 15-20 mins.
-
@taytoo Still happening.
I'm installing 5.13.1 from the offline installer, to the same directory you were (/Developer).
It stalls at:
Installing component Sources...
Extracting "5.13.1-0qt3d-everywhere-src-5.13.1.7z"The thing is, it prompted for permission. I'm the admin and I authenticated, so there shouldn't be a problem. It manages to install
Qt 5.13.1 Src qt3d config.tests dist examples include src tests tools usecases dist installer-changelog
then nothing else.
-
@Stokestack I had also tried with full permissions but was getting random errors as well, sometimes it just fails, sometimes hangs during install for hours. Eventually, I gave up and installed it in the /Users/<account>/Qt folder. It's probably a bug in the installer.
-
I've found a (hacky) workaround for this bug. In Finder, go to the directory you wish to install Qt to. Change its permissions for the user "everyone" to "read and write". Run the installer and let it do its thing, then revert back the file permissions to their original settings.
-
This is still happening for latest version of the online installer (4.1.1) when installing on /opt/Qt. It gets stuck during the qt3d src extract as @Stokestack explains (36%). I have tried many suggestions without luck (inc increasing sudo time limit as suggested elsewhere, setting rw permissions on directory), but latest effort I have excluded the Sources package and it works. Tried adding Sources using maintenance update and it took a long time (1.7h, just 7mins for download) but finished successfully...