手机root不了,也root精灵连接不上手机电脑求大神帮忙

你正在使用的浏览器版本过低,将不能正常浏览和使用知乎。Qt运行报错,如何解决!!!!急【qt吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:32,733贴子:
Qt运行报错,如何解决!!!!急收藏
登录百度帐号推荐应用温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
好人 一个好人
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
This application failed to start because it could not find or load the Qt platform plugin "windows".Available platform plugins are: minimal, offscreen, windows.Reinstalling the application may fix this problem.---------------------------确定 &&---------------------------少了 libEGL.dll &libGLESv2.dll&C:\qt\Qt5.1.1\5.1.1\msvc2010\plugins\platforms\qwindows.dllC:\qt\Qt5.1.1\5.1.1\msvc2010\plugins\sqldrivers\qsqlite.dll出现的错但是qsqlite.dll 和 qwindows.dll的路径不对啊,应该是 程序当前目录下的./platforms/qwindows.dll 和 ./sqldrivers/qsqlite.dll啊,定位了一天,终于知道了原因:pro文件加入&QT & & & += core gui sqlmain.cpp内容如下:#include "mainwindow.h"#include &QApplication&int main(int argc, char *argv[]){& & QApplication a(argc, argv);& & MainW& & w.show();& & return a.exec();}mainwindow.h内容如下:#ifndef MAINWINDOW_H#define MAINWINDOW_H#include &QMainWindow&#include &QtSql/QSqlDatabase&#include &QtSql/QSqlQuery&#include &QtSql/QSqlTableModel&namespace Ui {class MainW}class MainWindow : public QMainWindow{& & Q_OBJECTpublic:& & explicit MainWindow(QWidget *parent = 0);& & ~MainWindow();& & static QSqlDprivate:& & Ui::MainWindow *};#endif // MAINWINDOW_Hmainwindow.cpp内容如下:#include "mainwindow.h"#include "ui_mainwindow.h"QSqlDatabase MainWindow::db = QSqlDatabase::addDatabase("QSQLITE");MainWindow::MainWindow(QWidget *parent) :& & QMainWindow(parent),& & ui(new Ui::MainWindow){& & ui-&setupUi(this);& &&}MainWindow::~MainWindow(){& &}由于db是静态成员,所以初始化的时间比main函数中的QApplication的执行时间早,而plugins是属于动态加载的,QApplication还没来得及设置当前的引用dll的路径,就要使用qsqlite.dll,程序从系统path路径找到了C:\qt\Qt5.1.1\5.1.1\msvc2010\plugins\sqldrivers\qsqlite.dll, 就用了起来。修改为:非静态的QSqlDatabase db。解决了。
阅读(1625)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
在LOFTER的更多文章
loftPermalink:'',
id:'fks_081075',
blogTitle:'QT 5.1.1 程序单独运行报错 not find or load the Qt platform plugin \"windows\".',
blogAbstract:'---------------------------This application failed to start because it could not find or load the Qt platform plugin \"windows\".Available platform plugins are: minimal, offscreen, windows.Reinstalling the application may fix this problem.---------------------------确定 &&',
blogTag:'qt',
blogUrl:'blog/static/',
isPublished:1,
istop:false,
modifyTime:8,
publishTime:1,
permalink:'blog/static/',
commentCount:0,
mainCommentCount:0,
recommendCount:0,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'好人 一个好人',
hmcon:'1',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}1 Pages: 1/4& & &Go
主题 : Qt-embedded 4.xx 运行出现 Segmentation Fault 段错误的解决办法
级别: 侠客
金钱: 320 两
威望: 122 点
贡献值: 11 点
综合积分: 122 分
&Qt-embedded 4.xx 运行出现 Segmentation Fault 段错误的解决办法
管理提醒:
本帖被 kasim 执行加亮操作()
很多朋友在移植Qt-embedded 4.xx的时候都使用了友善之臂公司提供的交叉编译器,虽然Qt与Qt应用程序都编译成功,但运行Qt应用程序时却经常会出现段错误(Segmentation Fault),可以尝试使用openmoko(一个开源手机项目)提供的编译器,同样是EABI,版本为4.1.2经测试,运行Qt应用程序时不会出现段错误(Segmentation Fault)详细的移植步骤见本人的博客:good luck![ 此帖被风城少主在 11:50重新编辑 ]
级别: 论坛版主
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
经典的Segmentation Fault
&If you have an apple and I have an apple and we exchange apples, then you and I willstill each have one apple. But if you have an idea and I have an idea and we exchangethese ideas, then each of us will have two ideas.&
级别: 新手上路
金钱: 30 两
威望: 15 点
贡献值: 0 点
综合积分: 6 分
&& 希望 能行 试试看! 被段错误困扰多日!
级别: 新手上路
金钱: 215 两
威望: 59 点
贡献值: 0 点
综合积分: 68 分
LZ 你的Qt/E-4.5.2 有编译过吗,我编译时出现下列错误,望指点指点,谢谢&built-in&:0: note: candidates are: void* operator new(unsigned int)make[1]: *** [.pch/release-shared-emb-arm/QtCore.gch/c++] 错误 1make[1]: Leaving directory `/opt/qte-4.5.2/src/corelib'make: *** [sub-corelib-make_default-ordered] 错误 2
级别: 侠客
金钱: 320 两
威望: 122 点
贡献值: 11 点
综合积分: 122 分
编译通过啦!今晚再贴我的配置参数出来~~
级别: 新手上路
金钱: 215 两
威望: 59 点
贡献值: 0 点
综合积分: 68 分
级别: 新手上路
金钱: 250 两
威望: 158 点
贡献值: 0 点
综合积分: 68 分
不错,试一试!Thanks
级别: 新手上路
金钱: 250 两
威望: 158 点
贡献值: 0 点
综合积分: 68 分
&(未解决)移植QT4.5出现错误&Segmentation fault&,请问是什么原因?
../../include/QtCore/../../src/corelib/tools/qlist.h:54:15: error: new: 没有那个文件或目录../../include/QtCore/../../src/corelib/tools/qlist.h: In member function ‘void QList&T&::node_construct(QList&T&::Node*, const T&) [with T = QString]’:../../include/QtCore/../../src/corelib/tools/qlist.h:426:&& instantiated from ‘void QList&T&::append(const T&) [with T = QString]’../../include/QtCore/../../src/corelib/tools/qstringlist.h:70:&& instantiated from here../../include/QtCore/../../src/corelib/tools/qlist.h:341: error: no matching function for call to ‘operator new(unsigned int, QList&QString&::Node*&)’&built-in&:0: note: candidates are: void* operator new(unsigned int)../../include/QtCore/../../src/corelib/tools/qlist.h: In member function ‘void QList&T&::node_copy(QList&T&::Node*, QList&T&::Node*, QList&T&::Node*) [with T = QString]’:../../include/QtCore/../../src/corelib/tools/qlist.h:618:&& instantiated from ‘QList&T&& QList&T&::operator+=(const QList&T&&) [with T = QString]’../../include/QtCore/../../src/corelib/tools/qstringlist.h:85:&& instantiated from here../../include/QtCore/../../src/corelib/tools/qlist.h:360: error: no matching function for call to ‘operator new(unsigned int, QList&QString&::Node*)’&built-in&:0: note: candidates are: void* operator new(unsigned int)make[1]: *** [.pch/release-shared-emb-arm/QtCore.gch/c++] 错误 1make[1]: Leaving directory `/root/work/qt-embedded-linux-opensource-src-4.5.2-arm/src/corelib'make: *** [sub-corelib-make_default-ordered] 错误 2
级别: 论坛版主
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
../../include/QtCore/../../src/corelib/tools/qlist.h:54:15: error: new: 没有那个文件或目录去看这个文件的这一行,为什么编译器跟你说&没有那个文件或目录&顺便说一句,不要用中文的编译器信息输出,不伦不类的
&If you have an apple and I have an apple and we exchange apples, then you and I willstill each have one apple. But if you have an idea and I have an idea and we exchangethese ideas, then each of us will have two ideas.&
级别: 新手上路
金钱: 215 两
威望: 67 点
贡献值: 0 点
综合积分: 70 分
应该是QWS_SIZE设置的问题,我有一个程序QWS_SIZE=320x240的时候可以运行,然后设置为QWS_SIZE=320x480就报段错误了
1 Pages: 1/4& & &Go
Powered by

我要回帖

更多关于 root精灵无法连接手机 的文章

 

随机推荐