QT5.8里没有QWebEngineView 哪位大神来帮我看看

我昨天装了QT5.8(msvc2013_64),VS2013的编译环境。结果在编译一个项目时提示没有QWebEngineView ,我去看了安装文件夹,发现确实没有。我卸载了重新安装,还是没有。不知道哪位大神知道如何解决的,感谢!!!
图片说明
图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
大神来帮我看看把
为什么第二个try的BufferedReader reader=new BufferedReader(new InputStreamReader(is,"iso-8859-1"),8);rn这句和is.close();这句话会出错呢rntryrn HttpClient httpclient=new DefaultHttpClient();rn HttpPost httppost=new HttpPost("http://110.86.69.250/getAllPeopleBornAfter.php");rn httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));rn HttpResponse response =httpclient.execute(httppost);rn HttpEntity entity=response.getEntity();rn InputStream is=entity.getContent();rn catch(Exception e)rn Log.e("log_tag", "Error in http connection" + e.toString());rn rn tryrn BufferedReader reader=new BufferedReader(new InputStreamReader(is,"iso-8859-1"),8);rn StringBuilder sb=new StringBuilder();rn String line =null;rn while((line=reader.readLine())!=null)rn sb.append(line+"\n");rn rn is.close();rn result=sb.toString();rn catch(Exception e)rn Log.e("log_tag","Error converting result" + e.toString());rn
ios问题,哪位大神来帮我看看block的问题
rn就是一个for循环里面有block,但block是异步的,我打印了一下,block里面的i并不是0.1.2.3....,每次都不一样,怎么解决。直接上代码rn//获得图片数据rn- (void) getImageDatarn __block int count=0;rn _newsImage = [NSMutableArray arrayWithCapacity:10];rn __weak typeof(self) weakSelf = self;rn for (int i = 0; i
来位大神来帮我看看啊!
“梦回1980” 专场演唱会 2010.07.03-08.28 北青盈之宝剧场 880、580、380 2010年《王者归来》王杰北京演唱会 2010.08.07 五棵松体育馆 1800、1680、1280、1000、.. rn我现在在做页面抓取已经定位到这了! 请问接来怎么取出我要向要的东西?比如rnrn“梦回1980” 专场演唱会rn2010.07.03-08.28rn北青盈之宝剧场rn880、580、380rn跪求中!!!!!!!!!
求大神来帮我看看这个触发器
[code=sql]if(object_id('tgr_public_his_update','TR') is not null) drop trigger tgr_public_his_update go create trigger tgr_public_his_update on GL_MARRIAGE_PUBLIC_HIS UPDATE as IF EXISTS(SELECT * FROM INSERTED ) AND EXISTS(SELECT * FROM DELETED) BEGIN INSERT INTO GL_MARRIAGE_PUBLIC_HIS_INSERTED SELECT * FROM INSERTED END rn[/code]rn这是个触发器,当修改GL_MARRIAGE_PUBLIC_HIS(婚姻登记表) 时,把修改的那整行都添加到GL_MARRIAGE_PUBLIC_HIS_INSERTED 表中,由于表中的字段有Image类型,所以我把for用 instead of替代了,现在的问题是 我用sql语句测试时,无法修改GL_MARRIAGE_PUBLIC_HIS这里面的数据,GL_MARRIAGE_PUBLIC_HIS_INSERTED这里面是修改后的数据,求解为什么修改不了GL_MARRIAGE_PUBLIC_HIS里面的数据
求大神来帮我看看这个存储过程
我的需求就是 把这个值 弄成查询的条件 rn谁会啊能不能帮帮我,实在想不到如何改了rn create proc usp_selectrn @newsid int //就是想通过@newsid 来查询这两个表的内容rn asrn beginrn select * from newinfo as newsrn inner join contents as cntsrn on news.newsid=Cnts.newpidrn end
大神来帮忙看看
rn[img=https://img-bbs.csdn.net/upload/201504/14/1428975424_485422.png][/img]rn[img=https://img-bbs.csdn.net/upload/201504/14/1428975443_288817.png][/img]rnrnrn怎么回事。。。。感觉以后得去看下深入理解JVM虚拟机了 ,,,我跑测试程序没问题。挂到服务器 就出问题
各位大神来看看!
这是我做的一个作业:rn#includernusing namespace std;rnstruct datarnrn char name[20];rn long number,score;rn;rnint main()rnrn struct data men[10];rn int i;rn cout<<"请分别输入10个学生的姓名、学号、成绩,中间用空格隔开:"<>men[i].name>>men[i].number>>men[i].score;rn rn cout<<"不及格的学生如下:\\n";rn for(i=1;i<11;i++)rn rn if(men[i].score<60)rn cout<
vba大神来看看
想编个开发票,一张最多116000,所以里面的金额要拆开好几张。要求吨位保留三位小数以内,如【116000/4480(结算价)=25.892XXX(就取三位小数)然后倒回去算出25.892*4480=115996.16(这个就是开票金额)】开的金额要接近116000但不能超过这个数字以此类推。然后新建到另一个表里,另一张需体现【物质名称 规格型号 单位 数量(25.892) 结算单价(4480)对应金额(115996.16)】VBA小白,就是知道能做,量大麻烦,谢谢大神。rn[img=https://img-bbs.csdn.net/upload/201807/20/1532086624_186343.png][/img]
大神来帮看看
#includernint xn(int *x,int *m);rnint main()rnrnint n=10,x,nx[10],*p,*z;rn for(x=0;xm)rn x=a;rn while(*x==0);rn rn x++;rn rn rn rnwhile(j!=1);rnprintf("\n");rn return *x;rnrn
大神来看看。 复选框问题
[code=html]rnrn rn rn rn rn rn rn Documentrn rn rn rn rn rn rn 合同主体是分公司或代表处,提供总公司授权书,并约定合同履行的所有责任由总公司承担---3分 合同主体是分公司或代表处,提供境内知名企业作为担保---1分 业主将合同转移至第三方(如总包,设计院,家具厂商),业主又不愿担保及提供保障。---5分 付款节点,非我司所能控制(如业主取得LEED认证后,再付尾款等)---2分 工程进度紧且延迟罚款 > 0.1%,违约赔偿高(Liquidated damage)---3分 追加减先做后谈,完工后结算且结算期长---2分 保函为无条件、即期的/业主模板---3分 法律适用外国法律,且在外国法院。业主不同意加上输方支付赢方全额律师费,仲裁费及到当地之差旅费---5分 争议解决并非中国国际经济贸易仲裁委员会 及上海、北京、广州、深圳当地法院的,有地方保护可能---5分rn rn rn rn rn rn rn rnrn rnrn[/code]rnrnrn怎么才能按照后面的分数相加减。选中加相应的。没选中就减。我就只能做到这个样子了。rn老是在判断第一个。 烦死了。在线等。 弄了一天了 ~~~~(>_<)~~~~
!!!!!!!!!!!C大神来看看!!!!!!!!!!1
怎么样写入一个8位的位图?rnMFC的可以路过了!
C++PrimerPlus的程序问题,大神来看看
题目:rn编写一个菜单驱动程序,该程序显示一个提供4个选项的菜单---每个选项用一个字母标记。如果用户使用有效选项之外的字母进行响应,程序将提示用户输入一个有效的字母,指导用户这样做为止。然后,改程序使用一条switch语句,根据用户的选择进行一个简单操作。rnrn程序应该是这样的:rnPlease enter one of the following choices:rnc)carnivore p)pianistrnt)tree g)gamernPlease enter a c,p,t, or g: qrnPlease enter a c,p,t, or g: trnA maple is a tree.rnrnrn[code=c]#includernusing namespace std;rnvoid menu();rnint main()rnrn menu();rn char ch;rn cin.get(ch);rn while (ch != EOF)rn rn while (ch!='c' && ch!='p' && ch!='t' && ch!='g')rn rn cout << "Please enter a c,p,t, or g: ";rn cin.get(ch);rn rn switch(ch)rn rn case 'c': cout << "A maple is a carnivore.\n";rn break;rn case 'p': cout << "A maple is a pianist. \n";rn break;rn case 't': cout << "A maple is a tree. \n";rn break;rn case 'g': cout << "A maple is a game. \n";rn break;rn rn cin.get(ch);rn rn return 0;rnrnvoid menu()rnrn cout << "Please enter one of the following choices: \n";rn cout << "c)carnivore\t" << "p)pianist\n";rn cout << "t)tree\t" << "g)game\n";rnrn[/code] rn实际运行后出现如下错误,麻烦大神帮忙看一下,真看不懂。。rn[img=https://img-bbs.csdn.net/upload/201511/20/1447988419_651298.png][/img]
大神来帮助看看~缓存
背景:开发客户端与数据库的中间件,为提高效率,想要立马获取刚刚插入的数据rn目前我的想法是使用缓存,提供接口给客户端,客户端将数据库操作语句传递到中间件,由中间件去处理。rn中间件将插入的数据先放到缓存,读取操作先从缓存里读,读不到再到数据库。rn问题是插入语句一般比较简单,最多附加些where条件,而查询语句中的where条件、子查询通常会涉及多张表,而缓存中并没有保存这些条件值。rn请问有没有较好的方式来实现快速读取刚插入的数据,接口包含哪些参数比较合理?
哪位大神来帮我把保存文件弄好啊 真的很急~~
求各位帮帮我把这个程序得到的结果保存到输出保存到outfile.txt文件中rn各位帮忙把程序改动一下~真的很急。现在也没时间看文件的章节了,反正是举手之劳请各位高抬贵手吧rn最好 改动了然后把全体粘贴出来,跪谢。。rn#includernint score[4][4],choose;rn void fun()rn int i,j,k,who;rn score[1][1]=7;rn score[2][1]=8;rn score[3][1]=9;rn for(i=1;i<=3;i++)rn for(j=1;j<=3;j++)rn for(k=1;i!=j&&k<=3;k++)rn if(k!=i&&k!=j&&15-i-score[1][1]!=15-j-score[2][1]rn &&15-i-score[1][1]!=15-k-score[3][1]rn &&15-j-score[2][1]!=15-k-score[3][1]rn &&15-i-score[1][1]!=i+1rn &&15-j-score[2][1]!=j+1rn &&15-k-score[2][1]!=k+1)rn rn score[1][2]=i;score[1][3]=15-i-7;rn score[2][2]=j;score[2][3]=15-j-8;rn score[3][2]=k;score[3][3]=15-k-9;rn rn for(who=0,i=1;i<=3;i++,printf("\n"))rn for(j=1;j<=3;j++)rn rn printf("%d",score[i][j]);rn if(score[i][j]==1)who=i;rn rn if(who==1)rnrn printf("The last one arrived to end is a child from family Zhang.\n");rn else if(who==2)rn printf("The last one arrived to end is a child from family Wang.\n");rn else printf("The last one arrived to end is a child from family Li.\n");rn rnvoid main()rnrn printf("welcome to my design !my c is who runs the least fast \n");rn printf("if you want to go the program without thinking ,please put into 1\n");rn printf("if you wan to go over slightly, please put into 2\n ");rn scanf("%d",&choose);rn switch(choose)rn rn case 1:rn fun();break;rn rn case 2:printf("the program is over, thank you for your fitting\n");rn default:break;rn rnrn
哪位帮我看看,头都大了???
1。一个单元格中的内容应怎么样处理才能使它不会自动换行,一直在一行里显示,自动加宽。rn2。我在一个表里有一个字段upfile,值为“振兴中华.doc”,存着人家上传的文件名,然后我想用附件点击附件后它提示文件找不到,但当我把它改为111。docshi(时)却能正常打开doc文档,请问我该怎么处理才能打开有中文字符的文件
哪位大狭能帮我看看 谢谢
现在有文字能拖动的CODE,想实现文字在图片上能拖动rnrnrnrn rn可以拖动我 rn rn
请大神来帮我看看安装SQLServer的错误日志
2013-09-26 11:18:28 Slp: Evaluating rule : ThreadHasAdminPrivilegeCheckrn2013-09-26 11:18:28 Slp: Rule running on machine: XENAPPrn2013-09-26 11:18:28 Slp: Rule evaluation done : Succeededrn2013-09-26 11:18:28 Slp: Rule evaluation message: 运行 SQL Server 安装程序的帐户具有计算机的管理员权限。rn2013-09-26 11:18:28 Slp: Send result to channel : RulesEngineNotificationChannelrn2013-09-26 11:18:28 Slp: Initializing rule : 重新启动计算机rn2013-09-26 11:18:28 Slp: Rule applied features : ALLrn2013-09-26 11:18:28 Slp: Rule is will be executed : Truern2013-09-26 11:18:28 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FacetRebootRequiredrn2013-09-26 11:18:28 Slp: Rule 'RebootRequiredCheck' results: IsRebootNotRequired=Truern2013-09-26 11:18:28 Slp: Evaluating rule : RebootRequiredCheckrn2013-09-26 11:18:28 Slp: Rule running on machine: XENAPPrn2013-09-26 11:18:28 Slp: Rule evaluation done : Succeededrn2013-09-26 11:18:28 Slp: Rule evaluation message: 不需要重新启动计算机。rn2013-09-26 11:18:28 Slp: Send result to channel : RulesEngineNotificationChannelrn2013-09-26 11:18:28 Slp: Initializing rule : Windows Management Instrumentation (WMI)服务rn2013-09-26 11:18:28 Slp: Rule applied features : ALLrn2013-09-26 11:18:28 Slp: Rule is will be executed : Truern2013-09-26 11:18:28 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.WmiServiceInforn2013-09-26 11:18:28 Slp: Rule 'WmiServiceStateCheck' detection result: WMI Service is runningrn2013-09-26 11:18:28 Slp: Evaluating rule : WmiServiceStateCheckrn2013-09-26 11:18:28 Slp: Rule running on machine: XENAPPrn2013-09-26 11:18:28 Slp: Rule evaluation done : Succeededrn2013-09-26 11:18:28 Slp: Rule evaluation message: Windows Management Instrumentation (WMI) 服务正在运行。rn2013-09-26 11:18:28 Slp: Send result to channel : RulesEngineNotificationChannelrn2013-09-26 11:18:28 Slp: Initializing rule : 针对 SQL Server 注册表项的一致性验证rn2013-09-26 11:18:28 Slp: Rule applied features : ALLrn2013-09-26 11:18:28 Slp: Rule is will be executed : Truern2013-09-26 11:18:28 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.AclPermissionsFacetrn2013-09-26 11:18:28 Slp: Launching external tool: D:\sqlserver\SQL SERVER 2008\SQLSever2008_FULL_CHS\x64\FixSqlRegistryKey_x64.exern2013-09-26 11:18:28 Slp: ------------------------------------------------------------rn2013-09-26 11:18:39 Slp: ------------------------------------------------------------rn2013-09-26 11:18:39 Slp: D:\sqlserver\SQL SERVER 2008\SQLSever2008_FULL_CHS\x64\FixSqlRegistryKey_x64.exe exit code: 0rn2013-09-26 11:18:39 Slp: Launching external tool: D:\sqlserver\SQL SERVER 2008\SQLSever2008_FULL_CHS\x64\FixSqlRegistryKey_x86.exern2013-09-26 11:18:39 Slp: ------------------------------------------------------------rn2013-09-26 11:18:45 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer - OK.rn2013-09-26 11:18:45 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client - OK.rn2013-09-26 11:18:45 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\SuperSocketNetLib - OK.rn2013-09-26 11:18:45 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\SuperSocketNetLib\LastConnect - OK.rn2013-09-26 11:18:45 Slp: ------------------------------------------------------------rn2013-09-26 11:18:45 Slp: D:\sqlserver\SQL SERVER 2008\SQLSever2008_FULL_CHS\x64\FixSqlRegistryKey_x86.exe exit code: 0rn2013-09-26 11:18:45 Slp: Rule 'AclPermissionsFacet' detection result: AreSqlAclPermissionsCanonical= True rn2013-09-26 11:18:45 Slp: Evaluating rule : AclPermissionsFacetrn2013-09-26 11:18:45 Slp: Rule running on machine: XENAPPrn2013-09-26 11:18:45 Slp: Rule evaluation done : Succeededrn2013-09-26 11:18:45 Slp: Rule evaluation message: SQL Server 注册表项是一致的,可以支持 SQL Server 安装或升级。rn2013-09-26 11:18:45 Slp: Send result to channel : RulesEngineNotificationChannelrn2013-09-26 11:18:45 Slp: Initializing rule : SQL Server 安装媒体上文件的长路径名rn2013-09-26 11:18:45 Slp: Rule applied features : ALLrn2013-09-26 11:18:45 Slp: Rule is will be executed : Truern2013-09-26 11:18:45 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.MediaPathLenghtFacetrn2013-09-26 11:18:45 Slp: Rule 'MediaPathLength' INSTALLMEDIAPATH length is 61rn2013-09-26 11:18:45 Slp: Evaluating rule : MediaPathLengthrn2013-09-26 11:18:45 Slp: Rule running on machine: XENAPPrn2013-09-26 11:18:45 Slp: Rule evaluation done : Succeededrn2013-09-26 11:18:45 Slp: Rule evaluation message: SQL Server 安装媒体不太长。rn2013-09-26 11:18:45 Slp: Send result to channel : RulesEngineNotificationChannelrn2013-09-26 11:18:45 Slp: Saving results to datastore...rn2013-09-26 11:18:45 Slp: Saved to directory.......C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\SystemConfigurationCheck_Report.htmrn2013-09-26 11:18:45 Slp: Sco: Attempting to create directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\resourcesrn2013-09-26 11:18:45 Slp: Sco: Attempting to create directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\resources, security descriptor rn2013-09-26 11:18:45 Slp: Sco: Attempting to set directory full pathrn2013-09-26 11:18:45 Slp: Sco: Attempting to normalize directory path C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\resourcesrn2013-09-26 11:18:45 Slp: Sco: Directory 'C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\resources' already exists, skipping creation, moving to set security descriptor.rn2013-09-26 11:18:45 Slp: Sco: Attempting to set security descriptor for directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\resources, security descriptor rn2013-09-26 11:18:45 Slp: Sco: Attempting to check if directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\resources existsrn2013-09-26 11:18:45 Slp: Sco: SDDL is NULL/empty and overwriteSecurityDescriptor is false, so nothing to do, return.rn2013-09-26 11:18:55 Slp: Generating HTML report by applying XsltTransformation and saving to Log folder...rn2013-09-26 11:18:56 Slp: Rules evaluation report is available now at C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130926_111804\SystemConfigurationCheck_Report.htmrn2013-09-26 11:19:42 Slp: Completed Action: GatherUserSettings, returned Truern2013-09-26 11:19:42 Slp: ----------------------------------------------------------------------rn2013-09-26 11:19:42 Slp: Running Action: Progressrn2013-09-26 11:19:42 Slp: Completed Action: Progress, returned Truern2013-09-26 11:19:42 Slp: ----------------------------------------------------------------------rn2013-09-26 11:19:42 Slp: Running Action: Closern2013-09-26 11:19:42 Slp: Stop Actionrn2013-09-26 11:19:42 Slp: Completed Action: Close, returned Truern2013-09-26 11:19:53 Slp: rn2013-09-26 11:19:53 Slp: rn2013-09-26 11:19:53 Slp: ----------------------------------------------------------------------rn2013-09-26 11:19:53 Slp: rn2013-09-26 11:19:53 Slp: Setup result: rn------------------------------------------------rn2013-09-26 11:21:27 Slp: ------------------------------------------------------------rn2013-09-26 11:21:33 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer - OK.rn2013-09-26 11:21:33 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client - OK.rn2013-09-26 11:21:33 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\SuperSocketNetLib - OK.rn2013-09-26 11:21:33 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\SuperSocketNetLib\LastConnect - OK.rn2013-09-26 11:21:33 Slp: ------------------------------------------------------------rn2013-09-26 11:21:33 Slp: D:\sqlserver\SQL SERVER 2008\SQLSever2008_FULL_CHS\x64\FixSqlRegistryKey_x86.exe exit code: 0rn2013-09-26 11:21:33 Slp: Completed Action: FixSqlRegistryKey, returned Truern2013-09-26 11:21:33 Slp: ----------------------------------------------------------------------rn2013-09-26 11:21:33 Slp: Running Action: FinalizeProgressStatusrn2013-09-26 11:21:33 Slp: Completed Action: FinalizeProgressStatus, returned Truern2013-09-26 11:21:33 Slp: ----------------------------------------------------------------------rn2013-09-26 11:21:33 Slp: Running Action: RebootMessageActionrn2013-09-26 11:21:33 Slp: Completed Action: RebootMessageAction, returned Truern2013-09-26 11:21:33 Slp: ----------------------------------------------------------------------rn2013-09-26 11:21:33 Slp: Running Action: Closern2013-09-26 11:21:33 Slp: Stop Actionrn2013-09-26 11:21:33 Slp: Completed Action: Close, returned Truern2013-09-26 11:21:33 Slp: ----------------------------------------------------------------------rn2013-09-26 11:21:33 Slp: Running Action: PassPidBackFromComponentUpdatern2013-09-26 11:21:33 Slp: Pass the flag CuPidDisplayed to the main setuprn2013-09-26 11:21:33 Slp: PID value specified, trying to pass the value to main setuprn2013-09-26 11:21:33 Slp: Completed Action: PassPidBackFromComponentUpdate, returned Truern2013-09-26 11:21:33 Slp: rn2013-09-26 11:21:33 Slp: rn2013-09-26 11:21:33 Slp: ----------------------------------------------------------------------rn2013-09-26 11:21:33 Slp: rn2013-09-26 11:21:33 Slp: Error result: -2068643839rn2013-09-26 11:21:33 Slp: Result facility code: 1203rn2013-09-26 11:21:33 Slp: Result error code: 1rn2013-09-26 11:21:33 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine rn2013-09-26 11:21:33 Slp: Sco: Attempting to open registry subkey Software\Microsoft\PCHealth\ErrorReporting\DW\Installedrn
哪位大神来一memcache的使用demo
希望哪位大神来一份memcache的使用demo,不需要什么连接池之类的,就是最简单的,一个本地服务,取数据,存数据,缓存数据,就可以了,不过要拿来就能用的,谢谢啦
大神来帮我看看这个报错代表什么意思。。。
菜鸟一枚 刚到公司 把项目代码down了下来也跑起来了,就是发现classes文件夹一直有叉号,以前没怎么见过这个错误rn 程序是svn导出的,现在正常运行 各方面都没问题,就是这个问题没搞明白rn 处女贴 求助rnrn[img=https://img-bbs.csdn.net/upload/201308/30/1377845623_139303.png][/img]
有哪位JS大神来帮忙回答下!!!
请使用js实现以下的方法:生成一个长度为100,元素大于0小于等于100且随机不重复的数组
OGNL % 没有 还是别的原因 急 大神来看看
我是想根据一个Map 里面定义了表格的列,动态生成表格的列rnrn这是页面上遍历的代码:rn[code=Java]rn [color=#FF0000]遍历表格的Map集合,[/color]rn rn [color=#FF0000]这里遍历出来的key 是国际化里面的key,这里生成表格的 thead 表头[/color]rn [color=#FF0000]遍历数据,表格显示的数据[/color]rn [color=#FF0000]这里的 V 存的是OGNL表达式[/color]rn rn rn rn [color=#FF0000]这里就可以这样去取国际化[/color]rn rn rn rn rn rn [color=#FF0000]这里用%v 去取就取不到数据[/color]rn rn rn rn rn rn rn rn[/code]rnrn这是Action 生成的数据:rnrn[code=Java]rn public String testProduct()rn Map> ms = new LinkedHashMap>();rn LinkedHashMap d= new LinkedHashMap();rn d.put("product.rartNumber", "#p.id");rn d.put("product.datasheet", "#p.datasheet");rn d.put("product.description", "#p.description");rn d.put("product.vinMin_V", "#p.winMin_v");rn d.put("product.vinMax_V", "#p.vinMax_v");rn d.put("product.vout_V", "#p.vout_V");rn d.put("product.iout_A", "#p.iout_A");rn d.put("product.iswLimit_A", "#iswLimit_A");rn d.put("product.switchingFreq_kHz", "#p.switchingFreq_kHz");rn d.put("product.vfb_V", "#p.vfb_V");rn d.put("product.iCCMax_uA", "#p.iCCMax_uA");rn d.put("product.extSync", "#p.extSync");rn d.put("product.efficience", "#p.efficience");rn d.put("product.application", "#p.application");rn d.put("product.pack", "#p.pack");rn ms.put("1", d);rn ActionContext.getContext().getSession().put("map", ms);rn Pagination ps = this.productAllBiz.getAllProductAll(pageIndex,pageSize);rn ActionContext.getContext().getSession().put("products", ps);rn return SUCCESS;rn rnrn[/code]rnrn[color=#339966]表格:[/color]rn[code=HTML]rnPart Number Data sheet Description Vin Min(V) Vin Max(V) Vout(V) Iout(A) Isw Limit(A) Switching Freq(kHz)rn#p.id #p.datasheet #p.description #p.winMin_v #p.vinMax_v #p.vout_V #p.iout_A #iswLimit_A #p.switchingFreq_kHzrn#p.id #p.datasheet #p.description #p.winMin_v #p.vinMax_v #p.vout_V #p.iout_A #iswLimit_A #p.switchingFreq_kHzrn#p.id #p.datasheet #p.description #p.winMin_v #p.vinMax_v #p.vout_V #p.iout_A #iswLimit_A #p.switchingFreq_kHzrn[/code]rnrn表头就可以显示 国际化里面的数据,而表格数据就不行,如果我直接写: 那么可以显示数据rn为什么 我在下面数据这里不行?加了 % 还是当字符串输出了,难道是 我这里的数据是遍历,不能取到还是什么。rnrn
哪位帮我看看为什么getline 没有输出?
string s;rn rn while(getline(fin,s))rn rn double d;rn while(fin>>d)rn cout<
easyui checkBox 的问题 懂的大神来看看
[img=https://img-bbs.csdn.net/upload/201509/12/1442047586_148988.png][/img]rnrnrnrn如图 我要实现点击checkbox 如果勾选上了 就直接在后台更新了 刷新后就是勾选的效果,同理没有勾选。rn现在很蛋疼 求指点迷津!!!
qt大神来看看这个问题
QTransform tm;rntm.scale(0.3,1);rnpaint.setTransform(tm);进行坐标上点的缩放,x轴缩放0。3,y轴缩放1,我想做的是鼠标画线工具,但是画的速率也变了,x轴方向的速度变慢了,画布坐标只有左上角上的点是准确的,其他方向上的点都是不正确的,rn效果如下:[img=https://img-bbs.csdn.net/upload/201307/04/1372906447_887832.jpg][/img],我想让字的效果有的,鼠标的点击位置也是准确的,怎么解决这个问题,哪位大神给点思路。
Java正则表达式求助,各位大神来看看。。。
想判断一个字符串是否和法,必须要有且只能有字母数字下划线三种组成,可以无序,多个下划线
xfire的webservice,各位大神来看看啊
首先,报错提示为:org.codehaus.xfire.fault.XFireFault: Couldn't send message.rn环境情况:rn 内网中的机器:211,201rn 外网中的机器:131,158(本机)rn其中,201可以访问131的某个端口,158能访问131的某个端口rn 211上部署了一个webservice服务,内网中可以使用rn 201机器上通过使用apache,进行实现跳转,目标指向211的webservice服务。内网测试,使用201的链接可以 访问到211的webservice服务rn 131机器上,同样使用apache进行跳转,目标指向201的apache服务(即最终跳转至211)。rn 通过本机IE可以访问到该webservice服务的信息,但使用xfire的client进行访问时,出现错误,错误提示:rnorg.codehaus.xfire.fault.XFireFault: Couldn't send message.rnrn这让人很费解啊,解决不了方案。大神们快来帮帮忙啊
两个大整数相加,大神来看看
InputrnThe first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines follow, each line consists of two positive integers, A and B. Notice that the integers are very large, that means you should not process them by using 32-bit integer. You may assume the length of each integer will not exceed 1000.rnrn rnrnOutputrnFor each test case, you should output two lines. The first line is "Case #:", # means the number of the test case. The second line is the an equation "A + B = Sum", Sum means the result of A + B. Note there are some spaces int the equation. Output a blank line between two test cases.rnrn rnrnSample Inputrn2rn1 2rn112233445566778899 998877665544332211rn rnrnSample OutputrnCase 1:rn1 + 2 = 3rnrnCase 2:rn112233445566778899 + 998877665544332211 = 1111111111111111110rn这是hdoj上的题,这是我的代码,在我机子一运行就死了rn[code=c]#include rnrnusing namespace std;rnrnint main()rnrn string s1,s2,s3;rn int a;rn cin>>a;rn for(int i=1;i<=a;i++)rn rn cin>>s1>>s2;rn int len1=s1.length();rn int len2=s2.length();rn int index=0,flag=0;rn int len11=len1,len22=len2;rn while(len1>=0&&len2>=0)rn rn int x=s1.at(index++),y=s2.at(index++);rn int sum=x+y+flag;rn if(sum>9)rn rn flag=1;rn sum-=10;rn rn elsern rn flag=0;rn rn s3.append((char*)sum);rn len1--;rn len2--;rn rn if(len1==0)rn rn for(int i=len1;i
求大神来看看这个问题
$dw = new COM("DynamicWrapper"); rn$dw->Register("EbUsbApi.dll", "EbCreateDataFile", 'i=sls', "f=s", "r=l"); rnrn想问一下,这里的'i=sls', "f=s", "r=l"是什么意思rn我是PHP小白,因为最近有个项目要用到PHP调用dll,正在学习。rn这段是我看到一篇总结PHP调用dll经验的文章里的。rnrn链接如下:rnhttp://blog.csdn.net/hn3e21/article/details/6074847 rnrn求大神答疑解惑 感谢
求一个sql语句,大神来看看
[code=sql]select Number400,Cyear,Cmonth,rnFeeType,MobileOpenD,FixedFee,FeeTypeName,Fee1,Fee2,Fee3,Fee4,rnConsumer1,Consumer2,Consumer3,Consumer4,rncase when (Cyear>=datepart(yy,MobileOpenD) and Cmonth>=datepart(mm,MobileOpenD) and pay
关于oracle查询的小问题 大神来看看
SQL语句rnselect * from openquery(oracle,'select * from ASNDETAIL where asnno=3221') 这里在server是能查询出来的rnrnC# rnusing (WXQP2015Entities db = new WXQP2015Entities())rn rn if (asnid.Length==10)rn rn int cont = db.Database.ExecuteSqlCommand(@"select * from openquery(oracle,'select * from ASNDETAIL where asnno=@asnno')",id);--这里报错rn return Json(new zt = "1" );rn rn return Json(new zt = "0" );rn rn同样的语句 查询就会报错rn准备对链接服务器 "oracle" 的 OLE DB 访问接口 "OraOLEDB.Oracle" 执行查询"select * from ASNDETAIL where asnno=@asnno"时出错。
mybatis 用 update 出错大神来看看
rn这是错误信息rn[code=xml]rnHTTP Status 500 – Internal Server Errorrnrn--------------------------------------------------------------------------------rnrnType Exception ReportrnrnMessage Request processing failed; nested exception is org.springframework.dao.RecoverableDataAccessException: rnrnDescription The server encountered an unexpected condition that prevented it from fulfilling the request.rnrnExceptionrnrnorg.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.RecoverableDataAccessException: rn### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurernrnThe last packet successfully received from the server was 2,329 milliseconds ago. The last packet sent successfully to the server was 2,328 milliseconds ago.rn### The error may involve org.neolyao.stu.dao.GradeDAO.updateGrade-Inlinern### The error occurred while setting parametersrn### SQL: update grade set grades=? where st_id=? and c_id=?rn### Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurernrnThe last packet successfully received from the server was 2,329 milliseconds ago. The last packet sent successfully to the server was 2,328 milliseconds ago.rn; SQL []; Communications link failurernrnThe last packet successfully received from the server was 2,329 milliseconds ago. The last packet sent successfully to the server was 2,328 milliseconds ago.; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurernrnThe last packet successfully received from the server was 2,329 milliseconds ago. The last packet sent successfully to the server was 2,328 milliseconds ago.rn org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)rn org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:648)rn org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:729)rn org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rnRoot Causernrnorg.springframework.dao.RecoverableDataAccessException: rn### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurernrn[/code]rn这是mapper里updatern[code=xml]rn rn update grade rn set grades=#gradern where st_id=#st_id and c_id=#c_idrn rn[/code]rnrn每次点击更新之后 连数据库都停止运行了 ,这是怎么回事啊rn
太奇怪了,乱码了,大神来看看
jsp+struts+mysql做的, 页面中文乱码 ! 在网上拷了一个filter过滤器 压根就不执行 因为在 init()函数里面写的system.out....没有输出,我记得老师说的::tomcat一启动 init()这个函数就执行啊,这是怎么回事啊???mysql没有问题,数据在命令窗口能正常显示,filter过滤器,web.xml文件 都仔细看了没问题的。。。
随机数的问题,求大神来看看
[code=java]public class MathRandomrn rn public static int GetEvenNum(double a,double b)rn int s = (int)a +(int)(Math.random()*(b-a));rn if(s%2==0)rn return s;rn elsern return s+1;rn rn rn public static void For(double a,double b)rn for(int i=1;i<=6;i++)rn System.out.println("s" + i + "=" + GetEvenNum(a,b));rn rn System.out.println();rn rn rn rn public static void main(String args[])rn For(1,1000);rn rn[/code]rn问题是让在1-1000的区间产生6个随机数 并且求出他们的和 我已经把随机数都求出来了 但是求和想了半天也没想出来该怎么弄,求大神给指教下,谢谢
大神来看看下面这段代码
#include rnrnusing namespace std;rnrnvoid swap1(int *p, int *p1);rnrnint main()rn rn int a =1, int b = 2;rn swap1(&a, &b);rn cout << a << " " << b << endl; rn rnrnrnvoid swap1(int *p, int *p1)rnrn swap(p,p1);rnrnrnswap不是交换地址了吗?怎么还是输出 1 和 2rnrnrnrnrn
请各位大神来看看拓扑排序的问题
算法描述:rn从task.in 文件中读入任务调度序列,输出n个任务适合的一种调度方式到task.out中。每行第一个表示前序任务,括号中的任务为若干个后序任务,表示只有在前序任务完成的情况下,后序任务才能开始。若后序为NULL则表示无后继任务。rn Sample Input: Sample Output:rn Task0(Task1,Task2) Task0 Task1 Task3 Task2rn Task1(Task3)rn Task2(NULL)rn Task3(NULL) rnrn我想用邻接矩阵算,不过如何将上述每行的数字提取到数组当中呢?还请各位帮帮忙。。
求教 sql 简单语句。大神来看看
医院查询。rn住院天数等于出院日期减去出院日期。但是当天入院再出院的就会显示为0,怎么改成显示 1 天。rn还有就是怎么限制本科室的医生查询的只是本科室出院患者。可可能说的有的笼统,求大神赐教。rnQQ 371046404
求大神来看看这是怎么写的
http://tieba.baidu.com/p/1187094242rnrn应该EXE.dat是vb6.0生成的程序 通过批处理把vbs写入到EXE.dat后面 生成*.exe 具体是怎么写的?
大神来看看这段代码什么意思
#include rnrnusing namespace std;rnrnint main()rnrn int a = 1;rn int b =a++;rn cout << b << endl;rnrn这是不是游戏启动慢的原因啊.
哪位帮我看看!!!
SELECT Smart_Card.PersonnelID, Smart_Personnel.Name, Smart_SF_Deal.CardSerial, COUNT(Smart_SF_Deal.CardSerial) As ConsumerCount rnFROM Smart_Personnel INNER JOIN Smart_Card ON Smart_Personnel.PersonnelID = Smart_Card.PersonnelID rnRIGHT OUTER JOIN Smart_SF_Deal ON Smart_Card.CardNo = Smart_SF_Deal.CardNo rnWHERE (Smart_SF_Deal.CardSerial IS NOT NULL) AND ( fn YEAR(Smart_SF_Deal.DateTime) = '2002') rnAND ( fn MONTH(Smart_SF_Deal.DateTime) = '8') rnGROUP BY Smart_SF_Deal.CardSerial, Smart_Personnel.Name, Smart_Card.PersonnelID rn
哪位牛人帮我看看
#include rn#include rn#include rn#include rnrnusing namespace std;rnrnstruct nodernrn char dat[4];rn int num;rn struct node *next;rn;rnrnstruct node *getnode()rnrn struct node *p;rn int i;rn p=(struct node*)malloc(sizeof(struct node));rn for(i=0;i<4;i++) p->dat[i]='\0';rn p->num=0;rn p->next=NULL;rn return p;rnrnrnvoid creatdate()rnrn struct node *head,*p;rn FILE *fd;rn char buf[4]="123";rn int i;rn head=getnode();rn if((fd=fopen("./learndate","r"))==NULL) cout<<"cannot open file:learndate!"<next)rn printf("ceshis : %s %s %d\n",buf,p->dat,p->num);rn if(0==strcmp(p->dat,buf)) p->num++;rn rn if(NULL==p)rn rn p->next=getnode();rn p=p->next;rn strcpy(p->dat,buf);rn p->dat[3]='\0';rn rn fseek(fd,-2,1);rn rn fclose(fd);rnrn编译没有问题,运行时总是出错,编译器是 Mingw32
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法