如何使用visual studio在Qt中制作GUI? [英] How to make a GUI in Qt using visual studio?
问题描述
我有c ++代码,它使用GDAL库打开图像并对图像进行一些操作(如坡度,坡度,山坡等)。现在,我想创建一个GUI,我想从目录中打开一个图像。之后我想在图像上应用操作(假设为斜率 - c ++代码)然后我应该得到输出。
很多人建议我使用Qt 。我已成功在我的visual studio 2010中构建并安装了Qt。
请帮我如何继续使用GUI。我有C ++程序的中级技能和GUI应用程序的新技能。
I have c++ code which uses GDAL libraries to open the image and do some operations on an image (like slope, aspect, hill shade etc). Now, I want to make a GUI in which I want to open an image from the directory. After that I want to apply operation on the image (assume as slope - c++ code) and then I should get the output.
Many people have suggested me to use Qt. I have built and installed Qt in my visual studio 2010 successfully.
Please help me how to proceed with the GUI. I have intermediate skills in C++ programing and new for GUI applications.
推荐答案
你的问题很模糊......但我知道Qt的例子相当不错(虽然他们的详细文档并不是很好。
从这里开始: http://qt-project.org/wiki/QtWhitepaper [ ^ ]
熟悉框架,然后启动一个简单的Qt应用程序。
Your question is pretty vague... but I do know that the Qt examples are pretty decent (although their detailed documentation isn''t very good).
Start here: http://qt-project.org/wiki/QtWhitepaper[^]
Familiarize yourself with the framework then start a simple Qt application.
这篇关于如何使用visual studio在Qt中制作GUI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!