qq自由幻想手游想

匿名用户不能发表回复!|
每天回帖即可获得10分可用分!小技巧:
你还可以输入10000个字符
(Ctrl+Enter)
请遵守CSDN,不得违反国家法律法规。
转载文章请注明出自“CSDN(www.csdn.net)”。如是商业用途请联系原作者。Qt5(VS2013平台开发)应用程序的发布
时间: 15:28:18
&&&& 阅读:235
&&&& 评论:
&&&& 收藏:0
标签:&&&&&&&&&&&&&&&当你用&VS2013 + Qt5 + VS addin开发一个&Qt&的应用程序之后,如何将此程序交给别人来使用呢?本文即描述这个问题。第一步:需要准备好VS2013&运行时的&dll,一共 5个文件如果你是VS2013,则在这个目录(C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x86\Microsoft.VC120.CRT)下找以下这3个文件:然后在目录C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\Debug_NonRedist\x86\Microsoft.VC120.DebugCRT下找这2个文件:第二步:以Release&编译用&VS2013打开你的&Qt&项目,以Release&编译,执行菜单“生成|&重新生成解决方案”&。第三步:交付将编译得到exe&文件,连同以下文件交付给你的用户:&&其中:imageformats和platforms是Qt运行的的插件,在这个目录下:C:\Qt\Qt5.5.1\5.5\msvc2013\plugins而上图以Qt5打头的6个文件是Qt的库,在目录C:\Qt\Qt5.5.1\5.5\msvc2013\bin下可以找到。这样,把自己编写的应用程序和这些文件拷贝到别人的电脑上,也可以运行程序。最后再次说明:本Qt开发的环境为VS2013 + Qt5 + VS addin,其他平台如VS2012 + Qt5 + VS addin等等,笔者没有试过(但不代表不能成功),请注意!注:&VS2012&编译出来的程序只能在&Win7&及以上系统上运行,如果你希望在WinXP&这种老系统上运行,则请改用&VS2008 + Qt4.7.3&开发环境。&本文出自 “” 博客,请务必保留此出处标签:&&&&&&&&&&&&&&&
&&国之画&&&& &&&&chrome插件
版权所有 京ICP备号-2
迷上了代码!Visual Studio Add-in for Qt5(一个Visual Studio 的扩展) 1.2.1 官方免费版
您现在的位置: -
- Visual Studio Add-in for Qt5(一个Visual Studio 的扩展)下载
好评:88.97%
坏评:11.03%
Qt Visual Studio Add-in 是一个Visual Studio 的扩展,使得可以直接在 Visual Studio 环境中开发 Qt 应用程序。
Visual Studio Add-in特点:
1.优良的跨平台特性:Qt 支持下列操作系统: Microsoft Windows 95/98, Microsoft Windows NT, Linux, Solaris, SunOS, HP-UX, Digital UNIX (OSF/1, Tru64), Irix, FreeBSD, BSD/OS, SCO, AIX, OS390,QNX 等等。2.面向对象Qt 的良好封装机制使得 Qt 的模块化程度非常高,可重用性较好,对于用户开发来说是非常 方便的。 Qt 提供了一种称为 signals/slots 的安全类型来替代 callback,这使得各个元件 之间的协同工作变得十分简单。3.丰富的 APIQt 包括多达 250 个以上的 C++ 类,还替供基于模板的 collections, serialization, file, I/O device, directory management, date/time 类。甚至还包括正则表达式的处理 功能。4.支持 2D/3D 图形渲染,支持 OpenGL大量的开发文档XML 支持
更新日志:
纠正了一个1.1.8版本中导入.pro文件产生的回归错误;使Add-in程序能处理Intel VTune工程文件(QTVSADDINBUG-65);添加新的Qt版本时自动检查是否跟VS的版本兼容,这可以帮助用户不会用VS编译MinGW版的Qt程序(QTVSADDINBUG-58);添加可以配制lupdate/lrelease选项功能(QTVSADDINBUG-48);
下载Visual Studio Add-in for Qt5(一个Visual Studio 的扩展) 1.2.1 官方免费版
其他下载地址:
每周酷软件推荐
22.4 MB / 简体中文
Navicat Essentials是一套适用于MySQL数据库系统的图形化数据库管理、报告以及监控的工具。具有高性能的、有商业智...
软件排行榜
12345678910
热门关键字
关注新云安卓游戏网Visual Studio 2012 Add-in for Qt5
We need to download the following two:
, In my case, it's the Qt 5.1.1 for Windows 64-bit (VS 2012, OpenGL, 522 MB) (Info)
Once the Add-in installed successfully, we should now see QT5 show up on the Menu Bar:
Setting Qt5 Options
The next step is to let the VS know where to get bin/qmake and lib/libraries. Without this step, we may get "Unable to find a Qt build! To solve this problem specify a Qt build" when we try to create a new Qt5 project.
In my case, they are under "C:\Qt\Qt5.1.1\5.1.1\msvc2012_64_opengl".
So, we need to pass this information.
From the top menu, QT5-&Qt Options. Then, select "Add" and type the path into "Path"
The "Version name" should be filled with 5.1.1. Hit OK.
Creating a new Qt5 Project
Now, let's create a new Visual Studio Project: File -& New -& Project. We will now see a new addition called Qt5 Projects. This allows us to create various Qt applications. For now, select "Qt Application"
We just leave everything untouched.
Press "Finish"
Building Qt5 Project
Let's build the project and run.
We're going to add simple UI (QProgressBar and QSlider) with "valueChanged(int)" signal and "setValue(int)" slot.
Before we start building the project, we may want to make sure that our host and target are set properly.
Things to check - in my case, Host:x64, Target (Platform):x64
If this is not set properly, we may get "linking problem: fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' or something similar error messages.
Check properties options in linker settings at: Properties & Configuration Properties & Linker & Advanced & Target Machine. In my case, it should be x64.
Select Build & Configuration Manager from the main menu in visual studio. Make sure our project has the correct platform specified.
After that, we should check Qt Project Settings as well. If this hasn't been set, we may get "There's no Qt version assigned to this project for platform x64" - visual studio plugin for Qt:
Right click the project & Qt Peoject Settings & Under the Properties tab & Version
Set signal and slot for the UI we added:
Build and run:
The progress bar keeps updated as we move the slider. So, seems to be working fine!
Qt 5 Tutorial
Please enable JavaScript to view the
Ph.D. / Golden Gate Ave, San Francisco / Seoul National Univ / Carnegie Mellon / UC Berkeley / DevOps / Deep Learning / Visualization
Sponsor Open Source development activities and free contents for everyone.
Thank you.
Qt 5 Tutorial
Sponsor Open Source development activities and free contents for everyone.
Thank you.

我要回帖

更多关于 qq自由幻想手游 的文章

 

随机推荐