摘要: 给RCP中加入jar包与一般的java工程是有些个区别的,否则会出现“java.lang.NoClassDefFoundError”Open plug-in.xmlGo to Runtime tab.Click on 'Add...' button in the Classpath sectionAdd your external jarAs a result my MANIFEST.MF now... 阅读全文
posted @ 2013-10-14 17:00 Phnix 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Some weeks ago I published how views can communicate using the EventAdmin-Service. To get things working in an 3.x application one has to write some glue code but more importantly one has to know abou... 阅读全文
posted @ 2013-10-11 09:22 Phnix 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 错误详情:java.lang.RuntimeException: No application id has been found. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242) at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) at org.eclipse.core.runtime.intern 阅读全文
posted @ 2013-10-10 14:24 Phnix 阅读(1969) 评论(0) 推荐(1) 编辑
摘要: http://www.cnblogs.com/appsucc/archive/2012/03/14/2395657.html根据这个文章,把作者没写的加进来。基本能用。https://github.com/kingliang123/qt_simu360 阅读全文
posted @ 2013-06-09 13:46 Phnix 阅读(388) 评论(0) 推荐(0) 编辑
摘要: http://www.network-theory.co.uk/docs/gccintro/ 看了这个手册,了解了一些gcc的相关知识,记录一下。 1. gcc -Wall hello.c gcc -Wall -g hello.c // 加入了调试信息,可以用gdb调试。 2. gcc 默认搜索的header file path i... 阅读全文
posted @ 2013-05-24 17:43 Phnix 阅读(543) 评论(0) 推荐(1) 编辑
摘要: 1) linux version: 1. create cpp file, ex: test.cpp #include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); ... 阅读全文
posted @ 2013-05-23 15:27 Phnix 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 由于书对应的网站http://cssrain.sinaapp.com访问不了。这里是作者在网盘上的代码地址:第1版源码:百度云盘下载:http://pan.baidu.com/share/link?shareid=104031&uk=2030367496其他下载:115网盘下载:http://115.com/file/e718izr2金山快盘下载:http://www.kuaipan.cn/file/id_3431567200385179.html第2版源码:百度云盘下载:http://pan.baidu.com/share/link?shareid=104027&uk=203 阅读全文
posted @ 2013-03-28 17:33 Phnix 阅读(2695) 评论(3) 推荐(0) 编辑
摘要: 首先说HUB,也就是集线器。它的作用可以简单的理解为将一些机器连接起来组成一个局域网。而交换机(又名交换式集线器)作用与集线器大体相同。但是两者在性能上有区别:集线器采用的式共享带宽的工作方式,而交换机是独享带宽。 这样在机器很多或数据量很大时,两者将会有比较明显的。而路由器与以上两者有明显区别,它的作用在于连接不同的网段并且找到网络中数据传输最合适的路径 ,可以说一般情况下个人用户需求... 阅读全文
posted @ 2012-12-12 09:16 Phnix 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1.加文字-(UIImage *)addText:(UIImage *)img text:(NSString *)text1{ //get image width and height int w = img.size.width; int h = img.size.height; CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); //create a graphic context with CGBitmapContextCreate CGContextRef context = CGB... 阅读全文
posted @ 2012-09-06 17:35 Phnix 阅读(2056) 评论(0) 推荐(0) 编辑
摘要: 由于xcode的svn其实并不好使,推荐使用Version.下载=====================================以下为xcode的svn配置.xcode4.3 自带了两个版本管理系统,分别为svn,git. 目前默认的是git.公司代码用svn管理,配置xcode4.3 svn也很方便.a56爆大奖在线娱乐在使用中,碰到最大的问题就是"host is unreachable",而明明自己输入的Ip是对的.上网查了后,发现,得用域名,要改hosts文件.hosts文件修改:1.在应用程序里面打开终端(terminal)2.输入 sudo vi /etc/hosts3. 阅读全文
posted @ 2012-08-28 08:42 Phnix 阅读(1024) 评论(0) 推荐(0) 编辑