Unsolved Qt5 32 bit MSVC 2017
-
I can't find it in the installer, any help?
-
@Mehodin There are no official Qt MSVC 32bit builds. If you really need one you will need to build Qt by yourself.
-
What do look for?
The Qt libs or the compiler?
Concerning the compiler you need to get it from the MS page directly. Due to license issues you cannot use Qt installer.
Concerning Qt libs compiled with MSVC 2017 32 bit they are no longer pre-built and ready for direct use in installer.
IIRC the compiler shall be compatible with the MSVC2015 32 bit version.
Otherwise you would need to compile Qt code yourself. -
-
@Mehodin What exactly did you download? And how did you configure your project (do you use QtCreator?)?
The error message is telling you that you're mixing 32bit and 64bit. -
No I do not use QtCreator
I downloaded MSVC 2015 32 bit version.
I'm using Qt in a dynamic link library (so a dll)
http://mehodin.com/i/bb57ae1f.mp4
(it's a video i recorded of the settings)
http://mehodin.com/i/7eb969d6.png
http://mehodin.com/i/05643635.png
(also could either of you just upvote one of my posts so i can respond within the 10 minutes) -
I might be wrong, but it looks like that you download the community version of MSVC, which is free. However, AFAIK it has some drawbacks concerning the usability of the IDE. At least the community version had always years ago.
Therefore, I would recommend to install Qt creator as IDE. It provides more flexibility IMHO. However, I am certainly used to it. Nevertheless, you can install also a different compiler MinGW then. And you would have the same IDE on otherOSs.
My experience concentrates on MinGW, but I am pretty sure that there are enough experts with deep know-ledge of using Qt creator with MSVC compilers.
-
@koahnig well yeah but I really don't like QTCreator. It's working for me now but I get
1>Qt5Widgets.lib(Qt5Widgets.dll) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'But if I switch it up, so change to x86, it gives me the same error but other way around
(I want to build to x86)