自分のWin 7 PCでQt 3.3.6をコンパイルして、MSVC2012 C++コンパイラ(MSVS 2012 Professional)と組み合わせて使用する必要があります。Qt 3.3.6をVC2012で使用するためにコンパイルするには?
私はQt 3.3.6ライセンスとQt 3.3.6ソースコードをたくさん持っているという単純な理由があります。 Qtアップグレードはオプションではありません。私はすでにVS2012(ツール/ VisualStudioCommandPrompt)を介してシェルを起動し、にCWDを変更することにより、それをコンパイルしようとした16/11/10 13:40
:「Googleが」...
編集助けにはなりません適切なMakefileを含むQtディレクトリ:
C:\Qt\3.3.6>bin\configure.exe -redo -spec win32-msvc2012
License file not found in C:/Users/mdew
Enterprise modules will not be available.
QMAKESPEC...................win32-msvc
Maketool....................nmake
[...list of all the installed programs...]
Configuration:
nocrosscompiler
dialogs
iconview
kernel
styles
tools
widgets
workspace
minimal-config
small-config
medium-config
large-config
full-config
release
thread
no-gif
zlib
jpeg
mng
png
bigcodecs
no-tablet
Debug symbols...............no
Thread support..............yes
Accessibility support.......no
Big Textcodecs..............yes
Tablet support..............no
STL support.................yes
Additional exports..........no
Exception support...........yes
RTTI support................yes
OpenGL support..............no
Image formats:
GIF support.............no
MNG support.............qt
JPEG support............qt
PNG support.............qt
Styles:
Windows.................yes
Windows XP..............no
Motif...................yes
Platinum................yes
MotifPlus...............yes
CDE.....................yes
SGI.....................yes
Sql Drivers:
ODBC....................no
MySQL...................no
OCI.....................no
PostgreSQL..............no
TDS.....................no
DB2.....................no
SQLite..................no
Interbase...............no
Sources are in..............C:\Qt\3.3.6
Install prefix..............C:\Qt\3.3.6
Headers installed to........C:\Qt\3.3.6\include
Libraries installed to......C:\Qt\3.3.6\lib
Plugins installed to........C:\Qt\3.3.6\plugins
Binaries installed to.......C:\Qt\3.3.6\bin
Docs installed to...........C:\Qt\3.3.6\doc
Data installed to...........C:\Qt\3.3.6
Translations installed to...C:\Qt\3.3.6\translations
Creating qmake...
Microsoft (R) Program Maintenance Utility Version 11.00.61030.0
Copyright (C) Microsoft Corporation. All rights reserved.
cd qmake
NMAKE : fatal error U1077: 'cd' : return code '0x1'
Stop.
Building qmake failed, return code 2
私はMSVS2012でコンパイルしようとしましたが、失敗しました。 NMAKEが困っている。
私は間違っていますか?
ありがとうございました!
BRのmdew
は、コンパイル時にどのような問題を得るのですか正常にコンパイルする必要がありますか? Btw、Qt3はQtチームではサポートされていませんので、Qtソースをコンパイル可能にするには多くの修正が必要です。 –
@Dimitry:良い点。私はすでにQt 3.3.6をコンパイルしようとしていました。上記の私の編集された要求を見てください。 私は知っている、ライセンスファイルはまだ失われています。私はまだそれをコピーする必要があります。私は恐れている、これはエラーの理由ではありません。 – mdew
あなたはあなたの出力を読むように試みましたか? 'cd qmake'とは何ですか?あなたは本当にこのディレクトリを持っていますか?環境を正しく設定しましたか? –