WinXP,VS2005,编译Wireshark:Can't find Qt. This will become a problem at some point解决方法
WinXP,VS2005,编译Wireshark:Can't find Qt. This will become a problem at some point
按照Wireshark编译说明的提示,运行“nmake -f Makefile.nmake verify_tools”后,总是提示如标题所示的信息,具体提示如下:
我在这个网址找到了一个类似的问题:https://ask.wireshark.org/questions/30127/wireshark-build-gives-cant-find-qt-this-will-become-a-problem,但是,我在\wireshark-1.11.0\doc目录下,没有找到README.qt文档。而且,我按照上面网页中的提示查看了README.qt文档,该文的连接是https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob;f=doc/README.qt;h=967dc41cbb97d1e5a000b083b284d9a02b41c039;hb=HEAD,该文中的描述是针对VS2010或者VS2012的,我摘录了一部分相关的内容:
1.1.2 Windows
71
72 The default Qt SDK libraries are built using MinGW, which isn't supported for
73 Wireshark. Instead of downloading the Qt SDK all-in-one package, download the Qt
74 Libraries package from http://qt-project.org/downloads/ that matches your
75 compiler (VS 2010 or VS 2012) and Qt Creator for Windows.
76
77 Settings in config.nmake are passed to the Qt environment via
78 ui/qt/config.pri. This file should be created automatically when you
79 compile Wireshark in the top-level source directory. You can create it by
80 hand by running "nmake -f Makefile.nmake ui\qt\config.pri".
81
82 Qt Creator can be used to compile and run Wireshark. Alternatively qmake
83 and nmake at the cmd line can be used.
84
85 The Windows Qt version of Wireshark will be compiled and linked with
86 essentially the same options as that used when building the Gtk version of
87 Wireshark.
有没有人遇到类似问题,如何解决的?
谢谢。
------解决思路----------------------
看着好像是Qt的工程 你是不是VS没装Qt的插件 或者你用QtCreater来打开工程进行编译...
------解决思路----------------------
你使用Qt Creator 这个工具来编译,可能好支持点
------解决思路----------------------
wireshark源码 我在win7编译创建过 可以调试运行的那种 你要是不象用qt库做界面 可以在编译链接选项好像是nmake文件里面 不选qt 可以选gtk 或者gtk2 我是用的gtk2界面库
按照Wireshark编译说明的提示,运行“nmake -f Makefile.nmake verify_tools”后,总是提示如标题所示的信息,具体提示如下:
D:\wireshark-1.11.0>nmake -f Makefile.nmake verify_tools
Microsoft (R) 程序维护实用工具 8.00.50727.762 版
版权所有 (C) Microsoft Corporation。保留所有权利。
ERROR: The contents of 'C:\Wireshark-win32-libs\current_tag.txt' is (unknown).
It should be 2013-10-12.
Can't find Qt. This will become a problem at some point.
Checking for required applications:
cl: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/cl
link: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/link
nmake: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/nmake
mt: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/mt
bash: /usr/bin/bash
bison: /usr/bin/bison
flex: /usr/bin/flex
env: /usr/bin/env
grep: /usr/bin/grep
/usr/bin/find: /usr/bin/find
peflags: /usr/bin/peflags
perl: /usr/bin/perl
C:\Python24\python.exe: /cygdrive/c/Python24/python.exe
sed: /usr/bin/sed
unzip: /usr/bin/unzip
wget: /usr/bin/wget
我在这个网址找到了一个类似的问题:https://ask.wireshark.org/questions/30127/wireshark-build-gives-cant-find-qt-this-will-become-a-problem,但是,我在\wireshark-1.11.0\doc目录下,没有找到README.qt文档。而且,我按照上面网页中的提示查看了README.qt文档,该文的连接是https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob;f=doc/README.qt;h=967dc41cbb97d1e5a000b083b284d9a02b41c039;hb=HEAD,该文中的描述是针对VS2010或者VS2012的,我摘录了一部分相关的内容:
1.1.2 Windows
71
72 The default Qt SDK libraries are built using MinGW, which isn't supported for
73 Wireshark. Instead of downloading the Qt SDK all-in-one package, download the Qt
74 Libraries package from http://qt-project.org/downloads/ that matches your
75 compiler (VS 2010 or VS 2012) and Qt Creator for Windows.
76
77 Settings in config.nmake are passed to the Qt environment via
78 ui/qt/config.pri. This file should be created automatically when you
79 compile Wireshark in the top-level source directory. You can create it by
80 hand by running "nmake -f Makefile.nmake ui\qt\config.pri".
81
82 Qt Creator can be used to compile and run Wireshark. Alternatively qmake
83 and nmake at the cmd line can be used.
84
85 The Windows Qt version of Wireshark will be compiled and linked with
86 essentially the same options as that used when building the Gtk version of
87 Wireshark.
有没有人遇到类似问题,如何解决的?
谢谢。
------解决思路----------------------
看着好像是Qt的工程 你是不是VS没装Qt的插件 或者你用QtCreater来打开工程进行编译...
------解决思路----------------------
你使用Qt Creator 这个工具来编译,可能好支持点
------解决思路----------------------
wireshark源码 我在win7编译创建过 可以调试运行的那种 你要是不象用qt库做界面 可以在编译链接选项好像是nmake文件里面 不选qt 可以选gtk 或者gtk2 我是用的gtk2界面库