Have you tried using this step-by-step guide?
http://wiki.qtcentre.org/index.php?t...ws_using_MinGW
Have you tried using this step-by-step guide?
http://wiki.qtcentre.org/index.php?t...ws_using_MinGW
I found out if I enter in command shell (qt command shell with all paths) I get:
Qt Code:
Setting up a Qt environment... -- QTDIR set to C:\Qt\4.2.1 -- Added C:\Qt\4.2.1\bin to PATH -- QMAKESPEC set to win32-msvc2005 Setting environment for using Microsoft Visual Studio 2005 x86 tools. C:\Qt\4.2.1>nmake Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1065: invalid option '-' Stop. C:\Qt\4.2.1>To copy to clipboard, switch view to plain text mode
Does anyone have a clue if this is normal nmake operation or not? Is maybe nmake buggy? I've installed Service Pack 1 and that patch for compiling qt app.
Qt 5.3 Opensource & Creator 3.1.2
Did you configure Qt for your compiler?
I've installed it and everything works fine, application compiles without problem!
But if I run configure it also fails with same error, I really do not have any clue what the hell is going on!!
Qt 5.3 Opensource & Creator 3.1.2
Different things may be wrong. Qt can be configured for a different compiler, for example, so that Makefiles generated by qmake are for a different infrastructure - that's why I asked if have you configured Qt for your compiler.
I've installed qt and if qt weren't configured for my compiler, my application simply would not have compile at all. The problem is, if I run nmake solo, without anything, I get same error as if I run configure or start build process of mysql driver.
Qt 5.3 Opensource & Creator 3.1.2
I'm talking about the sources, not the binaries.
So please tell me did you configure the sources for msvc 2005? As far as I remember the "-platform win32-msvc2005" (or something like that) switch may be required if Qt can't determine your configuration on its own. Also please try running "qmake" before running nmake, maybe it just needs to regenerate some Makefile. Did you by any chance modified any of the project files?The problem is, if I run nmake solo, without anything, I get same error as if I run configure or start build process of mysql driver.
What happens if you create a Makefile with the following contents:
and run nmake?all:
<tabulator here>echo "blabla"
<empty line here>
I still get:
Qt Code:
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1065: invalid option '-' Stop.To copy to clipboard, switch view to plain text mode
I think nmake gets fucked up by applying that KB930859. Becuase there is a problem compiling qt apps with Visual Studio 2005 Service Pack 1. After I applied this KB930859 on Service Pack 1 my nmake got fucked up! I contaced MS but still no answer!!!!
Qt 5.3 Opensource & Creator 3.1.2
I doubt the patch did anything to your nmake. The problem concerned the compiler, not the make tool.
Bookmarks