qt install&init

Qt Installer Framework使用教程: 步骤一: 下载并安装Qt Installer Framework工具 http://download.qt.io/official_releases/qt-installer-framework/ 将安装目录添加到环境变量,如安装D盘时D:\Qt\QtIFW-4.5.0\bin 步骤二: 将测试例子(如D:\Qt\QtIFW-4.5.0\examples\tutorial)拷贝到某一目录如:D:\Qt\test confi 阅读详情

早些时候安装编译都很顺利,有段时间没碰了,回来升个级之后,用vs addin来开projects.proj遇到一堆问题。

记录下。

 

帮助比较大的是这几个blog文章,很感谢他们的分享:

http://www.cnblogs.com/huangliujing/archive/2009/02/13/1390068.html

http://blog.youkuaiyun.com/zhudelunalpha/archive/2010/08/26/5841394.aspx

 

最开始出问题的地方是在编译projects.proj的时候出现找不到qconfig.cpp。

为了处理这个问题找来找去通过上面blog文章,

弄了这个批处理:

 

 

其中在另外一台电脑使用的qt4.7正式版,configure命令是:

configure -debug-and-release -platform win32-msvc2008 -no-qt3support

用static的话会在一个fft那里报错。

 

重新config,make等步骤才都编译好,总算又可以在example代码里面debug了。

 

然后链接的时候需要用qt4的lib,也就是类似qtcore4d.lib这样的东西,否则也会出现link error。

 

 

这种配置,make的东西也是挺有意思。

 

最后就是貌似nmake是单线程building,用incredibuild感觉快多了。

 

http://blog.youkuaiyun.com/qter_wd007/archive/2010/06/02/5643324.aspx

这是一个更加详细的介绍。

 

更加方便版:

 

QT Installer Framework 从入门到打包实战 随着软件开发的不断演进,应用的分发与安装变得越来越重要。QT Installer Framework正是在这样的背景下应运而生,它是一个用于创建跨平台安装程序的开源框架,专为解决软件部署的复杂性问题而设计。本章将介绍QT Installer Framework的基本概念、特点以及如何利用它来简化安装包的生成过程。QT Installer Framework是一个基于Qt开发的工具集,它允许开发者为自己的应用程序创建专业的安装包。 阅读详情

相关推荐

Yolov5实现道路裂缝检测

Yolov5实现道路裂缝检测 参考代码链接 Github代码链接 基于Pytorch的Yolov5道路裂缝检测程序运行说明。大家可以结合我的说明和原文说明使用,有问题欢迎询问。 文章目录Yolov5实现道路裂缝检测环境要求测试训练自己的数据集1.创建dataset.yaml文件2.创建标签文件3.组织文件路径4.选择模型5.开始训练 环境要求 Python 3.8或之后的版本 还要安装requirements.txt文件中所有依赖包,包括1.7及以上版本的torch $ pip install -r req

qq_26751379的博客 2万+

QT INSTALLS使用

qmake变量INSTALLS的拷贝文件用法

1917

异次元发卡最新漏洞0day(XSS组合拳)

异次元商店头像上传处存在存储型XSS注入(user、admin均存在)。其中,user处有过滤,admin无。 将恶意脚本插入后,管理员访问用户管理页面即可执行恶意脚本。 恶意脚本执行后,会新增一个管理员用户,进而获得权限。鉴于漏洞还没有泛滥,而且很多站都有漏洞。EXP暂时不公开。需要学习可以加入知识星球

白昼小丑的博客 4593

Linux环境下Qt应用程序安装器(installer)制作

linx,qt,installer

propor的专栏 1414

10-142 6-4 查询厂商“D“生产的PC和便携式电脑的平均价格

分数 10全屏浏览题目切换布局作者 lhm单位 河北农业大学本题目要求编写SQL语句,查询厂商D生产的PC和便携式电脑的平均价格。

dqd66的博客 2748

从软体机器人到鞋垫分析:Abaqus超弹性材料(Ogden模型)仿真配置全流程

本文详细介绍了Abaqus中Ogden模型在超弹性材料仿真中的应用全流程,涵盖从实验数据导入、参数拟合到模型构建与求解优化的关键步骤。特别针对鞋垫分析等生物力学场景,提供了单元选择、接触设置和并行计算等实用技巧,帮助工程师实现高精度仿真分析。

weixin_42525385的博客 400

Qt 小例子学习34 读写init配置

Qt 小例子学习34 读写init配置 Config.h #ifndef CONFIG_H #define CONFIG_H #include <QObject> #include <QSettings> class Config : public QObject { static Config *instance; Q_OBJECT Q_PROPERTY( int someOtherValue READ someOtherValue NO

虾球 437

基于CLICKHOUSE的数据仓库分层规范

接入层。

zjyy1987的博客 770

qtdesigner的init()函数

I did NOT use qt designer to design the ui,I just use code to generate the myprog.cpp and myprog.h and main.cpp, This is the important point. quote: NOW I wanna add init() function to make initailize

Leo 2141

基于机器学习和深度学习的新能源功率预测研究综述--学术论文模式--个人梳理

本文是博主根据前人的研究成果总结的机器学习和深度学习等理论方法在新能源功率预测领域的相关研究内容要点,按照学术科技论文写作的模式进行的呈现,包括文章引用等也都做了详细的批注,花了很多时间和心血,一方面是对自己学习成果的一些总结,另一方面也希望对大家有用(尽量不要直接copy哦,转载请标注,如有不当请评论或私信指出哦可再生能源的间歇性给新型电力系统的运行带来了巨大挑战,准确地预测新能源出力对于电网的安全可靠运行尤为重要。

干吧滴! 6320

推荐一个直接用于项目开发的PID库!很好用,很稳定

关注、星标公众号,不错过精彩内容大家好,我是小麦。最近有朋友问到有没有现成的C语言PID库。当然有了!现在我就准备给大家安利一下了。一般同学会去某度上搜,看到各种各样版本的PID示例,或者...

一名热爱技术的工程师的博客。分享技术干货,记录美好生活。永远相信美好的事情即将发生。 9025

qt信号槽之创建和连接自定义的槽

在第一版的Qt设计器中,你可以创建你自定义的槽的信号并使他们连接起来,但是你不能直接实现你的槽,你不得不子集于该窗体,并在这个子集中对你自定义的槽编码,子集的方法依然有用,在某些情况下仍起作用(Make sense),但是现在你可以在Qt设计器中直接实现你的槽,在多的对话框和窗体的子集也不再需要了。(Qt设计器在.ui.h文件中存贮者槽的实现,具体的细节参看 走近设计器(The Designe

天道酬勤,勤能补拙 5129

QT5.12.1报错:1. clang++:error: :fatal error andriod Input/output error

QT5.12.1报错:1. clang++:error: :fatal error andriod Input/output error 解决方式: 1.qt程序不要放在共享目录下编译,直接拷贝到ubuntu系统中编译 2.修改/home/xt/Qt5.12.1/5.12.1/android_armv7/mkspecs/android-clang中 #QMAKE_LINK = QMAKECXXQMAKE_CXX QMAKEC​XXQMAKE_CFLAGS -Wl,–exclude-libs,libgc

xt18971492243的博客 737

技术课程设计工程化指南:从知识拆解到自动化验证的完整闭环

在线教育与知识付费的快速发展,让许多技术创作者尝试将个人经验沉淀为课程。然而真正有效的技术课程并非知识点堆砌,而需要清晰的工程化结构:从学员能完成的任务出发,进行知识拆解与学习路径设计,并以可运行项目、自动化验证和反馈闭环保证交付质量。围绕课程仓库的目录规范、Markdown 章节模板、自动化测试脚本、docsify 在线文档站点等实践,可以系统构建一套可训练、可验证、可迭代的教学体系。以终为始的课程设计和以学员完成为导向的迭代方法,适用于企业内训、技术专栏等场景,能帮助学习者从“看懂”走向“能上手干活”,

weixin_34375251的博客 318

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

Qt Installer Framework打包Linux程序,自定义安装路径

Qt Installer Framework打包一个简易的Linux程序,实现自定义选择安装路径,并在打包卸载时调用shell脚本等。双击TEST_Install,打开安装程序。打包成功后,在同级目录下生成安装包。————需打包的文件在此目录下。打开终端,拖入此文件,回车运行。,本文采用的是4.1.4版本。————文件夹名称为项目名称。

AwoCT的博客 1546

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

qt几种常见安装包制作工具-Qt Installer Framework

QtIFW提供了一组工具和实用程序,可以一次性创建安装程序,并在所有支持的桌面Qt平台上部署它们,而无需重写源代码。

bmseven的博客 3906

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

使用Qt Installer Framework将自己的程序打包成安装包程序

制作安装包程序就是将自己的程序打包成一个可执行的exe,双击之后进行安装。

andrewbytecoder 3323

Qt Install Framework使用方法

Qt程序的打包发布现在已经可以通过其发布的Installer Framework框架来完成,通过修改一些配置文件即可实现。 首先,现在该框架(本文书写时官网提供1.3.0、1.4.0和1.5.0的下载),根据有新的谁他吗还用旧的准则,下载1.5.0版本(http://download.qt-project.org/official_releases/qt-installer-framework/

sunshinwong的专栏 9730

Qt 编译完成拷贝文件 INSTALL

1.简述 有时候编译的是lib工程,希望将指定的文件,比如生成的库或者配置文件,图片资源等拷贝到指定的目录。 qmake提供了INSTALLS的变量,支持make install时拷贝文件 2.代码 pro文件 qml.files+=$$PWD/Flip.qml qml.path=$$PWD/../Bin/Plugins/$$TARGET/qml INSTALLS += qml 只写这个是不会执行的,还需要在编译完成执行make install才可。再做一个设置 这个时候再构建,结束之后就可以看到文

我是唐 1661

qconfig.h qconfig.cpp

qconfig.h qconfig.cpp

qiushangren的专栏 536

Qt 使用Installer Framework制作安装包

Qt Installer Framework (安装程序框架)是一个强大的工具集,用于创建自定义的在线和离线安装程序。它具有高度可配置性和可自定义性,适用于所有支持的Qt平台:Linux、Windows和macOS。并且其提供了清晰的文档和示例,帮助开发人员为应用程序创建安装程序。 - 本文以Windows为例,简述其制作一个软件安装包的步骤。

做减求空 4936

QT installs的使用,编译时拷贝文件

1.构建处添加参数install 2…pro文件中添加install拷贝信息` #####原文件文件路径####### target.path += $$PWD/ file.files += $$PWD/example.h #####需要拷贝到的目标路径,编译时会将example.h拷贝到target_dir中####### file.path = $$PWD/../../target_dir INSTALLS += target file ...

qq_37131073的博客 1554

Qt工作笔记-profile中INSTALLS的使用

最近在撸国外的Qt教程,可能是我开始崇洋媚外了,国外的东西的确香。 在此记录下查漏补缺的内容,方便以后查阅。 pro文件中可以配置INSTALLS这个变量 使用make install后可以将编译好的东西放到指定的文件中,这样的话就和编译安装其他开源软件一样了: make && make install 官方给出的例子是这样的: target.path += $$[QT_INSTALL_qml]/module INSTALLS += target 个人演示如下: .

IT1995的博客 5401

qt_install

参考: http://blog.sina.com.cn/s/blog_61e10f020101brpn.html 注意要安装opengl,否则会编译不了

布莱克洛 658

推荐开源项目:Qt Installer Framework - 强大的跨平台安装程序构建工具

推荐开源项目:Qt Installer Framework - 强大的跨平台安装程序构建工具 1、项目介绍 Qt Installer Framework 是一个功能强大的工具集,专为创建针对 Linux、Microsoft Windows 和 macOS 桌面平台的安装程序而设计。这个框架由 Qt 团队开发,旨在简化软件部署流程,提供统一且专业的用户体验。 2、项目技术分析 该框架基于最新的 Qt...

gitblog_00044的博客 822
上一篇: keep code tight&clean
下一篇: (zz)点在多边形内部判断算法(不限凹凸)
安柏霖
安柏霖 领域专家: 学术研究与理论基础技术领域 领域专家: 学术研究与理论基础技术领域
博客等级 码龄20年 1788粉丝 891原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值