Windows-Qt-EclipseCDT 环境问题集
Windows-Qt-EclipseCDT 环境问题集
@echo off
rem
rem This file is generated by the installer
rem
echo Setting up environment...
echo -- Using MinGW in: D:/Qt/4.6.2_for_mingw/bin;D:/Qt/mingw/bin;
set PATH=D:/Qt/4.6.2_for_mingw/bin;D:/Qt/mingw/bin;D:/Qt/4.6.2_for_mingw/lib
set PATH=%PATH%;%SystemRoot%/System32
start eclipse.exe -clean
I'm working on Eclipse IDE with qt4 plugin. Everythings work fine, all programs are compiling well, with no errors from compilator.
But I have one very annoying error which comes from Eclipse IDE.
syntax checker underlines ui.setupUi(this); with message: Method setupUi could not be resolved. This error have no matter for my application, and its work fine. but i cant stand to see the red underline in my project. I think that the problem is with my eclipse configuration.
here is the class with that error:
- #include "qtmyapp.h"
- QTMyApp::QTMyApp(QWidget *parent)
- : QWidget(parent)
- {
- ui.setupUi(this); // <-- here is the error
- }
- QTMyApp::~QTMyApp()
- {
- }
- #include <QtGui/QWidget>
- #include "ui_qtmyapp.h"
- class QTMyApp : public QWidget
- {
- Q_OBJECT
- public:
- QTMyApp(QWidget *parent = 0);
- ~QTMyApp();
- private:
- Ui::QTMyAppClass ui; //<-- and here
- };
Re: Eclipse error - method setupUi could not be resolved
Hi,
I had exactly the same error. I found this solution:
1 - Go to your project's properties [alt+enter];
2 - Go to left menu option C/C++ general->Indexer;
3 - Check all check boxes (just like the picture).
问题7:如何使用release编译
解决方法:project properties->C/C++ Make Project->Make Builder->Build(Incremetal Build) 属性 修改为release
<file>images/01042.png</file>
问题16:调试时,打断点无法命中
Windows-Qt-EclipseCDT 环境问题集相关推荐
- windows下配置redis集群,启动节点报错:createing server TCP listening socket *:7000:listen:Unknown error...
windows下配置redis集群,启动节点报错:createing server TCP listening socket *:7000:listen:Unknown error 学习了:https ...
- 利用Swarmkit构建Windows/Linux混合Docker集群
在很多公司都同时存在Windows+Linux两种操作系统,在Linux上跑Docker很方便各种资料文档齐全,但是在Windows上跑Docker相对比较少,同时也受到一些限制,如Windows上d ...
- Windows 2003 server 服务器集群实例
两台HP DL580:两台SAN Switch:一台MSA1500做 Windows 2003 server 服务器集群实例. <?xml:namespace prefix = o ns = & ...
- 配置Windows Server2008故障转移集群
Abner Kou原创 配置Windows Server2008故障转移集群 一. 问题描述 建立双节点的Windows Server 2008 故障转移集群,为Hyper-v的高可用和SQLServ ...
- 环境搭建:Windows系统下Nacos集群搭建
环境搭建:Windows系统下Nacos集群搭建 一.环境准备 名称 版本 下载地址 nacos NACOS 1.2.0 下载地址,提取码:5555 MySQL mysql Ver 14.14 Dis ...
- 在windows上搭建redis集群(主从复制)
Redis集群策略主要有: 主从复制 哨兵模式 (在windows上搭建redis集群(Redis-Sentinel)) 集群 (在windows上搭建redis集群(Redis-Cluster)) ...
- 在windows上搭建redis集群(Redis-Sentinel)
Redis集群策略主要有: 哨兵模式 主从复制(在windows上搭建redis集群(主从复制)) 集群 (在windows上搭建redis集群(Redis-Cluster)) 分片 本文主要讲解如何 ...
- 在windows上搭建redis集群(Redis-Cluster)
Redis集群策略主要有: 集群 主从复制(在windows上搭建redis集群(主从复制)) 哨兵模式 (在windows上搭建redis集群(Redis-Sentinel)) 分片 本文主要讲解如 ...
- linux故障转移集群,部署AlwaysOn第一步:搭建Windows服务器故障转移集群
在Windows Server 2012 R2 DataCenter 环境中搭建集群之前,首先要对Windows服务器故障转移集群(Windows Server Failover Cluster,简称 ...
最新文章
- ubuntu系统debootstrap的使用
- java ee 3.0_初识JavaEE 6 的 Servlet3.0
- bat批处理删除指定N天前的文件
- linux 查看进程_Linux怎么查看和监控每个进程的实时流量
- 转:EL表达式的11个内置对象
- 九张 Gif 图回顾 Web 设计的 25 年历史
- How to adjust IFrame height on it's content (转载)
- TCMPC进阶之路——accumulate函数应用
- 数据库周刊55丨2021年1月数据库排行榜出炉;openGauss荣获“2020年度国产数据库”称号;易鲸捷喜获“金鼎奖”;搭建Mysql MGR高可用集群;openGauss主备部署;AWR分析办法
- c# 免费版pdf转word尝试
- python如何计算等额本息还款_等额本息还款方式计算
- PAT A 1013. Battle Over Cities
- 一个商人骑一头驴要穿越1000公里长的沙漠,去卖3000根胡萝卜。已知驴一次性可驮1000根胡萝卜,但每走一公里又要吃掉一根胡萝卜。问:商人共可卖出多少胡萝卜? 答:533
- AltiumDesigner PCB案牍(3)—— PADS工程文件导入AD
- M4V格式怎么在线转换MP4格式
- android长按呼出菜单,Android系统下长按菜单的实现方式
- Share实例:用python将ppt转为pdf
- 《再探设计模式》装饰者:为什么比继承更灵活?
- 联想笔记本触摸板故障处理
- 推荐好玩又实用的APP,杜绝无聊
热门文章
- Py修行路 python基础 (二十)模块 time模块,random模块,hashlib模块,OS及sys模块...
- C# 获取可执行文件路径的上上级目录的方法
- Aspose.Word 的常见使用(不用模板创建)
- C代码中如何调用C++ C++中如何调用C
- uni-app实现上拉加载更多
- cocoaPod集成9大环境以及报错项目问题
- linux下缓存命中测试,linux为什么报表缓存缓存未命中?_linux_开发99编程知识库...
- 音频文件 数据库存储_数据库系统是什么?它由哪几部分组成?
- java集合体检套餐管理系统_体检套餐管理系统
- mysql mysql_row 整行数据_有关mysql中ROW_COUNT()的小例子