Windows下静态编译QT程序
2009-10-19 09:27
393 查看
$LOAD_PATH in ruby.
$LOAD_PATH in ruby is similar to class_path in java.
class_path contains many jar position.
every jar has its own structure leading to a java File.
$LOAD_PATH contains many ruby lib position.
usually, in lib directory, a directory containing different ruby Files can be found.
for example:
../lib/spec/
../lib/spec.rb
$LOAD_PATH can be set up like : $LOAD_PATH << ..../lib
and then we can require what we need like : require "spec",
this way, the spec.rb file is required.
we don't need to specify the entire path in require command.
how does it work in rails?
in rails, the gem libary is included in enviroment.rb usually.
rspec plugin is include in spec.rake, because rspec is runned always by rake.
$LOAD_PATH in ruby is similar to class_path in java.
class_path contains many jar position.
every jar has its own structure leading to a java File.
$LOAD_PATH contains many ruby lib position.
usually, in lib directory, a directory containing different ruby Files can be found.
for example:
../lib/spec/
../lib/spec.rb
$LOAD_PATH can be set up like : $LOAD_PATH << ..../lib
and then we can require what we need like : require "spec",
this way, the spec.rb file is required.
we don't need to specify the entire path in require command.
how does it work in rails?
in rails, the gem libary is included in enviroment.rb usually.
rspec plugin is include in spec.rake, because rspec is runned always by rake.
相关文章推荐
- QT+MinGW在windows中静态编译程序
- Linux下编译静态MinGW环境,编译windows平台Qt程序(使用MXE)
- Windows下编译静态Qt程序
- [转载]QT+MinGW在windows中静态编译程序
- 亲测VS2010纯静态编译QT4.8.0,实现VS2010编译调试Qt程序,QtCreator静态发布程序
- 在windows直接运行Qt编译出来的可执行程序出现了如下提示错误: this application has requested the runtime to terminate it an unu
- VS2012中使用编译的Qt-5.1.1静态库开发程序
- 在windows直接运行Qt编译出来的可执行程序出现了如下提示错误: this application has requested the runtime to terminate it an unu
- windows 安装和编译第一个QT程序
- 如何自己编译Qt,为静态编译程序减少依赖方便发布做准备
- windows qtcreator,vs2008 编译QT程序 的配置
- Qt5.8 在windows下静态编译
- 使用VC2005编译真正的静态Qt程序-Qt中文论坛-夏威夷雪人
- VS2012中使用编译的Qt-5.1.1静态库开发程序
- VS2012中使用编译的Qt-5.1.1静态库开发程序
- VS2008纯静态编译QT4.8.0,实现VS2008编译调试Qt程序,QtCreator静态发布程序
- 亲测VS2010纯静态编译QT4.8.0,实现VS2010编译调试Qt程序,QtCreator静态发布程序http://www.cnblogs.com/elect-fans/archive/2012/
- VS2010 win7 QT4.8.0,实现VS2010编译调试Qt程序,QtCreator静态发布程序
- (原创)亲测VS2010纯静态编译QT4.8.0,实现VS2010编译调试Qt程序,QtCreator静态发布程序
- VS2010纯静态编译QT4.8.0,实现VS2010编译调试Qt程序,QtCreator静态发布程序