Qt Creator fails to open

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Qt Creator fails to open

Postby Darroch on Thu Aug 21, 2014 10:16 am

I recently installed the qt-sdk (version 2ubuntu3) on an old PC (AthlonXP 2000+) under Linux Mint 17 via the Software Manager. Four applications appeared to have been successfully installed namely Qt Designer 4, Qt Linguist 4, Qt Assistant 4, all of which seem to run properly, and Qt Creator (Qt Creator 3.0.1 based on Qt 5.2.1) which starts for a few seconds and then fails to open. Running Qt Creator from a terminal (qtcreator) produces the cryptic message "Illegal Instruction".

(AthlonXPs don't have the sse2 instruction set built into the CPU and I have seen "Illegal instruction" appear when trying to run programmes compiled to use sse2. However, since three out of the four Qt-SDK applications run successfully and hence cannot need sse2 my natural assumption is that Qt Creator should also run with non-sse2 processors.)

Anybody else had this problem? Or know how to get Qt Creator working? Is there a solution or is the problem hardware based? I assumed that the package I downloaded from the Linux Mint repository would contain everything necessary to install and make the Qt software usable. Do I need to download and install further libraries/packages to use Qt Designer? If so which ones? Any help or advice would be welcome. Thank you in advance.
Darroch
Level 1
Level 1
 
Posts: 9
Joined: Tue Sep 17, 2013 4:06 am

Linux Mint is funded by ads and donations.
 

Re: Qt Creator fails to open

Postby Spearmint2 on Fri Aug 22, 2014 12:50 am

http://www.agner.org/optimize/blog/read.php?i=118#49

You'll need to fake your CPUID to an Intel chip or one with sse2.

a thread of those attempting it using a virtual machine.

https://communities.vmware.com/thread/4 ... 0&tstart=0
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
User avatar
Spearmint2
Level 9
Level 9
 
Posts: 2959
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Qt Creator fails to open

Postby Darroch on Fri Aug 22, 2014 7:40 am

Thanks for that.

If worst comes to worst I will give it a go.

However: Since I previously had Qt Creator working last year on this system (under Linux Mint 15 - Olivia) I'm wondering whether a simpler solution to my problem might be to try to get an older legacy version installed. I believe qt-project.org has an archive containing all previous versions; trouble is I can't remember which version of Qt Creator worked properly on this machine.

If anybody still has Qt Creator (or the full qt-sdk) working on a non-sse2 system, like mine with an AthlonXP, I would very much appreciate it if you could tell me which version works.

Thanks for the advice and thanks for reading.
Darroch
Level 1
Level 1
 
Posts: 9
Joined: Tue Sep 17, 2013 4:06 am

Re: Qt Creator fails to open

Postby Mute Ant on Fri Aug 22, 2014 9:16 am

The situation is similar to the transition from i386 without an i387 floating point unit to i486, where programmers knew floating point instructions would always work.

Possible Solutions [in no special order]...

o Compile the software you want on the machine where you want to use it. Proper 'NIX solution, a huge amount of learning, blood, sweat, tears etc etc. The compiler will take note of the CPU abilities and generate machine-code that works.

o Sneak behind the back of the package-manager. Manually download and unpack the Debian Stable qtcreator package you want and move the contents into /usr/local/. Linux doesn't care where a binary came from; it's like you compiled it yourself. Make a note of every file you add, so you can remove them again. Run ''ldconfig'' so Linux knows something has been added.

o Use hardware that supports the software you want to install. I am amazed a generic Mint17 doesn't just fall over anyway.

o Change the OS to LMDE-32. Comes with a plain-vanilla 486 sticker and a qtcreator package compiled to match.

o Find, install and activate an SSE2 exception trap, to ''upgrade'' the CPU abilities in software.

o Inform Ubuntu that their compiled version is less-than-perfect in the portability department + ignore the mocking laughter.
Mute Ant
Level 5
Level 5
 
Posts: 903
Joined: Tue Sep 03, 2013 7:45 pm

Re: Qt Creator fails to open

Postby Darroch on Sat Aug 23, 2014 1:14 pm

Cheers! What a pain. I am surprised that the open source community are dropping support for older processors without warning considering that many people in the third world do use old equipment and look to open source for operating systems and software to enable them to use those systems. I suppose initially I'll try to dig up an old version of Qt Creator (Qt-SDK 3.x open source work fine with MinGw under Windows XP on this very machine) then try compiling the application from source (which on a machine as old as this with 1 GB of SDRAM ain't much fun) and proceed from there. The only reason I haven't upgraded my hardware is that the PC I'm using dual boots with WIndows XP which has hundred of gigabytes of assorted software, code and other stuff on it which I dread having to re-install/transfer to a new Windows system. Again thanks for the detailed advice which I hope will enable me to squeeze a bit more life out of my Athlon XP.
Darroch
Level 1
Level 1
 
Posts: 9
Joined: Tue Sep 17, 2013 4:06 am


Return to Newbie Questions

Who is online

Users browsing this forum: folimifre, Google Adsense [Bot] and 26 guests