PDA

View Full Version : upgrade to qt 5



av2306
8th December 2013, 13:46
Hi all,

What is the best way to upgrade qt from 4.8.2 to 5.1.1?

I followed http://qt-project.org/wiki/Install_Qt_5_on_Ubuntu

But it's throwing error "No marker found, stopped after 1.00 MiB.".

Thanks,
av.

ChrisW67
8th December 2013, 20:45
The best way to upgrade is to download Qt5 from:
http://qt-project.org/downloads for either Linux 32-bit (http://download.qt-project.org/official_releases/online_installers/1.4/qt-linux-opensource-1.4.0-2-x86-online.run) or 64-bit (http://download.qt-project.org/official_releases/online_installers/1.4/qt-linux-opensource-1.4.0-2-x86_64-online.run) and run the online installer.


But it's throwing error "No marker found, stopped after 1.00 MiB.".
What is "it"?

av2306
9th December 2013, 06:55
As per article, when I executed below command in terminal, installer thrown above error.

user@username:$./qt-linux-opensource-5.1.1-x86_64-offline.run

I see this error on terminal: No marker found, stopped after 1.00 MiB.

ChrisW67
9th December 2013, 08:13
Verify that your *.run file matches:


Filename: qt-linux-opensource-5.1.1-x86_64-offline.run
Size: 415M (435479133 bytes)
Last modified: Wed, 28 Aug 2013 07:24:01 GMT (Unix time: 1377674641)
SHA-256 Hash: c36c568c48af83b262cbae8bcf52e91ce3f62b04091166b42e 8d592566d952c9
SHA-1 Hash: 64562c6c9f744293b206ab2ea9fbd848b67695eb
MD5 Hash: f2caba7912b42d0d07fed6436252acdb

and that you are running a 64-bit Linux.

av2306
9th December 2013, 10:21
Thank you Chris for your reply.

FileName: qt-linux-opensource-5.1.1-x86_64-offline.run
size: 432,673,729 bytes
Modified: Sun 08 Dec 2013 05:29:37 PM GST

I got success with online installer.

I tried to open pro file (which is created with qt 4.8.2) with Qt 5.1.1, Qt says invalid qt version. I have added manually qmake path through Tools -> Options -> Build & Run -> QtVersions. Still, it shows red icon(very angry upon me).

Any idea?

av2306
10th December 2013, 07:34
I found the issue.

In my box, default qt version for pro file is Qt 4.8.2, but code has Qt 5.1.1 api. It was throwing errors.

Opened Qt 5.1.1 creator then opened pro file. it's working fine. Thanks.