I
I
Imaginarium2015-05-23 03:10:27
Qt
Imaginarium, 2015-05-23 03:10:27

How to make qmake write makefile for nmake and not for jom?

Hello.
There was a need to use Qt in some new project. I downloaded the version for MSVC2010 32-bit, installed the library separately, then the Creator of the required version. Further was going to use qwt in the project. I downloaded it, unzipped it, I'm starting to assemble it. I always compiled using nmake - first I generate a makefile using qmake, then I run nmake (I do it according to some kind of tutorial, I have successfully used it more than once) in order to actually build it. And nmake throws a few errors: 0x135 and a couple of 0x2. In general, qmake generated a makefile under jom by default. I built qwt in Qt Creator as a normal project, using jom, by default - everything was assembled flawlessly in the process. But the assembly turned out to be a curve, half of the necessary qwt folders are not in it, so there is nothing to write to the environment variables. The project with qwt, of course, is not going to.
So the questions are:
1. How can I configure qmake to generate a makefile for nmake?
2. Is there anything I am doing wrong in the course of the described dances with a tambourine? Maybe you can somehow achieve the result easier - the correct assembly of qwt with the existing settings?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Martyanov, 2015-05-23
@vilgeforce

I suspect you need to run qmake something like this: qmake -spec win32-msvc2013 to generate a makefile
A complete list of possible compilers is in the mkspecs directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question