码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
This application failed to start because it could not find or load the Qt platform plugin "windows"
发生以上错误的Qt版本应该是Qt 5.0.0以上的版本吧。出现标题错误的大致原因是:因为Qt是跨平台的库,需要依赖于相关的平台库。有个Platform的文件夹,里面有相关dll文件。references:http://www.cnblogs.com/naive/p/3568887.htmlhttp:...
分类:移动开发   时间:2014-08-13 12:21:36    阅读次数:302
QT QSqlQuery QSqlQueryModel
SQL执行操作QSqlQuery提供了对数据库记录的Select、Insert、Update、Delete操作。SELECT操作:QSqlQuery query;query.exec("SELECT name, salary FROM employee WHERE salary > 50000");...
分类:数据库   时间:2014-08-13 10:25:35    阅读次数:356
Reverse Words in a String 翻转一个字符串里的单词顺序 @LeetCode
LeetCode新题,但是比较简单,直接用栈即可Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Clarification:What constitut...
分类:其他好文   时间:2014-08-13 08:01:55    阅读次数:182
Python命令行解析库argparse
2.7之后python不再对optparse模块进行扩展,python标准库推荐使用argparse模块对命令行进行解析。1.example有一道面试题:编写一个脚本main.py,使用方式如下:main.py -uhttp://www.sohu.com-d 'a=1,b=2,c=3' -o /tm...
分类:编程语言   时间:2014-08-13 05:54:55    阅读次数:352
Android 异步从网络上下载图片
package com.example.android_asynctask;import org.apache.http.HttpEntity;import org.apache.http.HttpResponse;import org.apache.http.client.HttpClient;i...
分类:移动开发   时间:2014-08-13 01:05:44    阅读次数:230
二维码的生成细节和原理
二维码又称QR Code,QR全称Quick Response,是一个近几年来移动设备上超流行的一种编码方式,它比传统的Bar Code条形码能存更多的信息,也能表示更多的数据类型
分类:其他好文   时间:2014-08-13 01:04:34    阅读次数:272
[LeetCode] Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->...
分类:其他好文   时间:2014-08-13 00:50:34    阅读次数:247
[掌眼]iOS / Android / java / node.js 通用的 AES256 加解密算法
example.mNSString *text = @"text";NSString *key32 = @"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; NSData *data = [text dataUsingEncoding:NSUTF8StringEncodin...
分类:移动开发   时间:2014-08-12 21:46:24    阅读次数:1144
解决linux环境下qt groupbox 边框不显示问题
ps:实践是检验真理的唯一标准真的是没错,以为很简单一件事情,往往被自己搞的很复杂,这里记录下在windows环境中Qt创建一个groupbox自动显示边框,效果如下然而在linux环境中Qt创建一个groupbox,边框竟然消失了如图然后以为是GroupBox的属性设置问题结果在属性里面找了半天没...
分类:系统相关   时间:2014-08-12 21:39:34    阅读次数:330
让C++控制台程序停下来,实现暂停功能
让C++控制台程序停下来,实现暂停功能一、针对Microsoft#include (1)第一种方式system( "PAUSE ");--------------------(2)第二种方式getchar(); // 这招对QT程序也有用---------------------(3)第三种方式S....
分类:编程语言   时间:2014-08-12 21:37:54    阅读次数:230
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!