I'm currently working on a project in QtCreator. I'm using a library that is x86 based but my current project is targeting an x64 architecture. The obvious solution is to change my project to target an x86 architecture. However, I have no idea how to do this.
I've gone into the appropriate window to configure a new Qt kit. This kit uses the MVCC x86 compiler. I then select this as my default project. After running the new qmake, I attempt to build the project yet get the same error regarding using a 32 bit library in a 64 bit project.
So my question: how do I apply a new kit in Qt? I assume I should be able to click the 'Open Build and Run Kit Selector'and select the kit, however, this just gives me the options of select the x64 kits.
Any idea?
First make sure the kit is added in the Build & Run menu of the Options panel. I think you have performed this step already:
Then go to the Projects tab after you have loaded your project and click on "Add Kit". There you should be able to select your newly added kit:
Finally, you should then be able to select it from the kit selector:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With