Page 1 of 1

Unable to compile with MSVC 2010

PostPosted: Sun Mar 22, 2015 1:56 pm
by ks1h
David, when I try to build peaberrycw with "Qt Creator 3.3.2 (opensource) Based on Qt 5.4.1 (MSVC 2010, 32 bit)", I get ~350 syntactical errors. I'm guessing it is designed to built with some specific compiler directives, or maybe a different version of QT. Any advice on getting it to build properly?

73, Ken KS1H

Re: MSVC 2010

PostPosted: Sun Mar 22, 2015 2:40 pm
by W4MMP
Hi,
Thanks for posting this. I hope David responds. I am experiencing the same issue. I'm pretty sure it some type of configuration parameter but I'm really new with Qt.

Re: Unable to compile with MSVC 2010

PostPosted: Thu Mar 26, 2015 6:37 pm
by ks1h
OK, I got it to build and run OK with qt-opensource-windows-x86-mingw491_opengl-5.4.1.exe

73 Ken KS1H

Re: Unable to compile with MSVC 2010

PostPosted: Thu Mar 26, 2015 9:03 pm
by ks1h
Maybe I should have been clearer ... go to url:
https://www.qt.io/download-open-source/#section-2
and pick the 7th item under "Windows Host".


Ken KS1H

Re: Unable to compile with MSVC 2010

PostPosted: Thu Mar 26, 2015 10:10 pm
by W4MMP
Hi Ken,
Thanks for the link. I will give a go also. I have yet to successfully compile any Qt based applications on either Windows or Linux. It appears the open source version of QT has some serious release compatibility issues.

Re: Unable to compile with MSVC 2010

PostPosted: Fri Mar 27, 2015 12:20 am
by W4MMP
Hi Ken,

Using the link you provided I was able to successfully compile the source. However it fails to run with:
Screenshot 2015-03-26 20.00.58_cr.png
Screenshot 2015-03-26 20.00.58_cr.png (231.26 KiB) Viewed 10855 times



Does your compiled version run properly?

Re: Unable to compile with MSVC 2010

PostPosted: Fri Mar 27, 2015 9:57 am
by ks1h
Hi Ron,

It runs OK using the run command in the QT build menu. To run outside of that you will probably need to set a PATH variable to point to the QT library dll's or else copy the right dll's over, but I haven't bothered with that yet.

73 Ken KS1H

Re: Unable to compile with MSVC 2010

PostPosted: Fri Mar 27, 2015 12:43 pm
by W4MMP
OK Mr. Wizard (aka, Ken)

How did you figure out this was the correct version of Qt to use?

Thanks for all the help !

P.S. I set the path parameter to point to the Qt installation.