QtCreator open source installation error
-
I am new to Qt. I have been trying to install QtCreator for a couple of days. But every time I try to install QtCreator, the Qt installer shows an error in the setup section. The progress bar goes to 96% and gets stuck. "Network error while downloading 'http://mirrors.ustc.edu.cn/qtproject/online/qtsdkrepository/windows_x86/desktop/qt5_5142/2020-08-21-1949_meta.7z': Connection refused" is displayed.
Am I hitting some faulty mirrors?
-
@crusty_carb If you have recent installer there should be an option to select a mirror. Try to select another mirror.
-
Thank you very much for the response.
I don't find any options to find other mirrors. But there is a section for repository and proxy server.
And
Do I have to tweak things here? -
@crusty_carb said in QtCreator open source installation error:
I don't find any options to find other mirrors. But there is a section for repository and proxy server.
Currently, you'll need to use the console to select a mirror: https://wiki.qt.io/Online_Installer_4.x#Selecting_a_mirror_for_opensource
Use the console to launch the installer while passing the
--mirror
option. -
@JKSH I am very thankful for your response but I don't find any instructions on how to install QtProject via console. Is there any other way to direct download the original files of QtProject? Or is there any instructions for console download in windows?
P.S. I am new to the CS field and trying hard to get along with it. You guys have been really helpful and I appreciate your help.
Thank you. -
@crusty_carb said in QtCreator open source installation error:
I don't find any instructions on how to install QtProject via console
Open a terminal (cmd.exe on Windows), type the path to installer executable and append --mirror parameter then press enter.
-
@crusty_carb I really don't know what else to explain?
What exactly is the problem? -
@jsulm I am new to the whole "Programming World". All I can do is use VS code and know a few programming languages. I am completely novice to the whole terminal thing and this is my first time using any framework.
Can you give me a few examples of those cmd commands in "git init" or "touch hello.txt" way? I tried "installer(.exe) install --root C:\Qt\MyQtInstall " looking up from google but error popped. -
@crusty_carb said in QtCreator open source installation error:
but error popped.
If you get an error post it!
The correct call should be: PATH_TO_INSTALLER_FOLDER/installer.exe --mirror MIRROR
Where you replace PATH_TO_INSTALLER_FOLDER with the folder there your installer is and MIRROR is the mirror you want to use.
Don't know why you added --root if you were asked to use --mirror. And there is also no suggestion to add "install" in the documentation under "Selecting a mirror for opensource". -
@crusty_carb Replace "installer.exe" with the correct file name of the installer you downloaded.
-
@Antara said in QtCreator open source installation error:
but I still can't find the application on the laptop
You mean QtCreator?
Qt and tools are installed in c:\qt by default on Windows. And you also should have entries for Qt in Windows start menu. -
On MacOS. you guys can use the below command:
hdiutil attach qt-online-installer-macOS-x64-4.8.1.dmg
/Volumes/qt-online-installer-macOS-x64-4.8.1/qt-online-installer-macOS-x64-4.8.1.app/Contents/MacOS/qt-online-installer-macOS-x64-4.8.1 --mirror https://qt.mirror.constant.com
hdiutil detach /Volumes/qt-online-installer-macOS-x64-4.8.1