Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt - static build

$
0
0
I’ve seen many articles and instructions about building Qt statically. But anyway I get errors during this process. OS: Windows 8, x64 I’ve installed Perl, Python, Ruby, they are at PATH variable too. Also installed Visual Studio 2010, Windows SDK 7.1, Visual Studio 2010 SP1, Visual C++ 2010 SP1 Compiler Update for the Windows SDK 7.1 (as described here http://qt-project.org/wiki/Building-Qt-5-from-Git) Then, using Windows SDK Command Prompt I do: configure -prefix % cd%\qtbase -opensource -static -platform win32-msvc2010 -nomake tests -nomake examples and then: nmake It compiles some files (nearly 30 min) and then:         link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE " /MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' versio n='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture ='*'" /MANIFEST /MANIFESTFILE:C:\Qt-static\qtbase\bin\qmlscene.exe.embed.manifes t /OUT:C:\Qt-static\qtbase\bin\qmlscene.exe @C:\Users\D395~1\AppData\Local\Temp\ nmAAB9.tmp LINK : fatal error LNK1181: cannot open input file 'Files.obj' NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\Bin\link.EXE"' : return code '0x49d' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\Bin\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. What to do? Or how to build Qt statically and correctly?

Viewing all articles
Browse latest Browse all 2113

Trending Articles