久久精品在这里_成人99免费视频_国产激情视频一区二区在线观看_国产伦精品一区二区三区免费 _亚洲午夜免费福利视频_色狠狠色狠狠综合_av在线综合网_91毛片在线观看_欧美视频一区二区在线观看_极品美女销魂一区二区三区免费_国产亚洲欧美激情_在线免费观看不卡av_日韩不卡一区二区三区_91精品国产麻豆国产自产在线_亚洲国产精品一区二区久久恐怖片_a4yy欧美一区二区三区

以文本方式查看主題

-  曙海教育集團論壇  (http://www.rfoamep.cn/bbs/index.asp)
--  Linux技術討論區  (http://www.rfoamep.cn/bbs/list.asp?boardid=7)
----  qmake命令參考  (http://www.rfoamep.cn/bbs/dispbbs.asp?boardid=7&id=14)

--  作者:yarson6
--  發布時間:2009-3-10 21:34:20
--  qmake命令參考

qmake Command Reference
qmake Command Reference
About This Reference

Command Line Options

System Variables

Functions

Environment Variables and Configuration

About This Reference
This reference is a detailed index of all command line options, configurations and internal variables used by the cross-platform makefile generation utility qmake.

In addition to the variables and functions described in the following sections, qmake project files may also include comments. Comments begin with the \'#\' symbol and run to the end of the line.

Command Line Options
Syntax
qmake [options] files

Options
The following options can be specified on the command line to qmake:

-o file
qmake output will be directed to file. if this argument is not specified, then qmake will try to guess a suitable name. If \'-\' is specified, output is directed to stdout.

-unix
qmake will run in unix mode. In this mode, Unix file naming and path conventions will be used, additionally testing for unix (as a scope) will succeed. This is the default mode on all Unices.

-macx
qmake will run in Mac OS X mode. In this mode, Unix file naming and path conventions will be used, additionally testing for macx (as a scope) will succeed. This is the default mode on Mac OS X.

-win32
qmake will run in win32 mode. In this mode, Windows file naming and path conventions will be used, additionally testing for win32 (as a scope) will succeed. This is the default mode on Windows.

-d
qmake will output (hopefully) useful debugging information.

-t tmpl
qmake will override any set TEMPLATE variables with tmpl.

-help
qmake will go over these features and give some useful help.

There are also warning options that can help to find problems in your project file:

-Wall
With this qmake will turn on all known warnings.

-Wnone
No warning information will be generated by qmake.

-Wparser
qmake will only generate parser warnings, this will alert you to common pitfalls, and potential problems in the parsing of your .pro files.

-Wlogic
Again qmake will warn of common pitfalls, and potential problems. This can include (but not limited to) checking if a file is placed into a list of files multiple times, if a file cannot be found, etc.

qmake supports two different modes of operation. The first mode, which is the default is makefile generation. In this mode, qmake will take a .pro file and turn it into a makefile. Creating makefiles is covered by this reference guide, there is another mode which generates .pro files.

To toggle between these modes you must specify in the first argument what mode you want to use. If no mode is specified, qmake will assume you want makefile mode. The available modes are:

-makefile
qmake output will be a makefile (Makefile mode).

-project
qmake output will be a project file (Project file mode).

Makefile Mode
In Makefile mode qmake will generate a makefile. Additionally you may supply the following arguments in this mode:

-after
qmake will process assignments given on the commandline after the specified files.

-nocache
qmake will ignore the .qmake.cache file.

-nodepend
qmake will not generate any dependency information.

-cache file
qmake will use file as the cache file, ignoring any other .qmake.cache file found

-spec spec
qmake will use spec as a path to platform-compiler information and QMAKESPEC will be ignored.

The files argument can be a list of one or more project files, separated by spaces. You may also pass qmake assignments on the command line here and they will be processed before all files specified, for example:

qmake -makefile -unix -o Makefile "CONFIG+=test" test.pro

If however you are certain you want your variables processed after the the files specified, then you may pass the -after argument. When this is specified all assignments on the commandline after the -after option will be postponed until after the specified files are parsed.

This will generate a Makefile, from test.pro with Unix pathnames. However many of these arguments aren\'t necessary as they are the default. Therefore the line can be simplified on Unix to:

qmake "CONFIG+=test" test.pro

Projectfile Mode
In Projectfile mode qmake will generate a project file. Additionally, you may supply the following arguments in this mode:

-r
qmake will look through supplied directories recursively

-nopwd
qmake will not look in your current working directory for source code and only use the specified files

The files argument can be a list of files or directories. If a directory is specified, then it will be included in the DEPENDPATH variable and relevant code from there will be included in the generated project file, if a file is given it will go into the correct variable depending on extension (i.e. .ui files go into FORMS, .cpp files go into SOURCES, etc). Here too you may pass assignments on the commandline, when doing so these assignments will be placed last in the generated .pro file.

System Variables
Frequently Used System Variables

Rarely Used System Variables

Frequently Used System Variables
The following variables are recognized by qmake and are used most frequently when creating project files.

CONFIG
The CONFIG variable specifies project configuration and compiler options. The values will be recognized internally by qmake and have special meaning. They are as follows.

These CONFIG values control compilation flags:

release - Compile with optimization enabled, ignored if "debug" is specified

debug - Compile with debug options enabled

warn_on - The compiler should emit more warnings than normally, ignored if "warn_off" is specified

warn_off - The compiler should only emit severe warnings.

These options define the application/library type:

qt - The target is a Qt application/library and requires the Qt header files/library. The proper include and library paths for the Qt library will automatically be added to the project.

opengl - The target requires the OpenGL (or Mesa) headers/libraries. The proper include and library paths for these libraries will automatically be added to the project.

thread - The target is a multi-threaded application or library. The proper defines and compiler flags will automatically be added to the project.

x11 - The target is a X11 application or library. The proper include paths and libraries will automatically be added to the project.

windows - The target is a Win32 window application (app only). The proper include paths,compiler flags and libraries will automatically be added to the project.

console - The target is a Win32 console application (app only). The proper include paths, compiler flags and libraries will automatically be added to the project.

dll - The target is a shared object/DLL.The proper include paths, compiler flags and libraries will automatically be added to the project.

staticlib - The target is a static library (lib only). The proper compiler flags will automatically be added to the project.

plugin - The target is a plugin (lib only). This enables dll as well.

The CONFIG variable will also be checked when resolving scopes. You may assign anything to this variable.

For example:

CONFIG += qt console newstuff
...
newstuff {
 SOURCES += new.cpp
 HEADERS += new.h
}

DEFINES
qmake adds the values of this variable as compiler C preprocessor macros (-D option).

For example:

 
DEFINES += USE_MY_STUFF QT_DLL

DEF_FILE
This is only used on Windows when using the \'app\' template.

Specifies a .def file to be included in the project.

DESTDIR
Specifies where to put the target file.

For example:

 
  DESTDIR = ../../lib

DLLDESTDIR
Specifies where to copy the target dll.

HEADERS
Defines the header files for the project.

qmake will generate dependency information (unless -nodepend is specified on the command line) for the specified headers. qmake will also automatically detect if moc is required by the classes in these headers, and add the appropriate dependencies and files to the project for generating and linking the moc files.

For example:

HEADERS = myclass.h \\
   login.h \\
   mainwindow.h

See also SOURCES.

INCLUDEPATH
This variable specifies the #include directories which should be searched when compiling the project. Use \';\' or a space as the directory separator.

For example:

  INCLUDEPATH = c:\\msdev\\include d:\\stl\\include

FORMS
This variable specifies the .ui files (see Qt Designer) to be processed through uic before compiling. All dependencies, headers and source files required to build these .ui files will automatically be added to the project.

For example:

FORMS = mydialog.ui \\
 mywidget.ui \\
        myconfig.ui

 


久久精品在这里_成人99免费视频_国产激情视频一区二区在线观看_国产伦精品一区二区三区免费 _亚洲午夜免费福利视频_色狠狠色狠狠综合_av在线综合网_91毛片在线观看_欧美视频一区二区在线观看_极品美女销魂一区二区三区免费_国产亚洲欧美激情_在线免费观看不卡av_日韩不卡一区二区三区_91精品国产麻豆国产自产在线_亚洲国产精品一区二区久久恐怖片_a4yy欧美一区二区三区
欧美人狂配大交3d怪物一区| 日本在线观看一区二区| 午夜私人影院久久久久| 亚洲国产cao| 国产不卡免费视频| 麻豆成人av在线| 麻豆视频观看网址久久| 免费看欧美女人艹b| 国模套图日韩精品一区二区 | 久久亚洲捆绑美女| 中文字幕亚洲在| 日韩专区欧美专区| 国产精品一区二区三区四区| 91网页版在线| 手机看片福利永久国产日韩| 欧美日韩免费一区二区三区 | 国产精品不卡在线观看| 一区二区三区四区在线免费观看 | 日本黑人久久| 欧美精品aⅴ在线视频| 欧美国产一区二区| 日本不卡的三区四区五区| 大尺度一区二区| 欧洲亚洲一区二区三区四区五区| 欧美亚洲一区三区| 国产精品久久国产精麻豆99网站| 婷婷久久综合九色综合伊人色| 国产69精品一区二区亚洲孕妇| 久久久久久久久久码影片| 精品视频免费在线| 国产精品久久免费看| 麻豆91免费看| 久久久久久久久久久久久久一区| 欧美性色黄大片手机版| 国产精品美女视频| 国产在线精品免费av| 久久久亚洲综合网站| 欧美一级片在线观看| 亚洲国产精品一区二区www | 一二三四社区欧美黄| 国产成人午夜精品影院观看视频 | 国产成人av一区| 欧美日韩免费观看一区| 日韩欧美久久久| 日本不卡中文字幕| 麻豆成人在线播放| 精品国产乱码久久久久久蜜臀| 日韩精品欧美成人高清一区二区| 成人久久18免费网站漫画| 欧美日韩免费在线视频| 亚洲精品欧美二区三区中文字幕| 国产91高潮流白浆在线麻豆| 在线观看一区欧美| 亚洲色图一区二区| 91免费版在线| 欧美一二三区精品| 欧美aaaaa成人免费观看视频| 久久精品99久久| 久久精品视频网| 大陆成人av片| 欧美日韩和欧美的一区二区| 亚洲图片有声小说| 九九热久久66| 亚洲国产成人一区二区三区| 成人黄色小视频| 欧美日本在线播放| 蜜臀va亚洲va欧美va天堂 | 国产99精品视频| 色国产综合视频| 亚洲影院在线观看| 久久riav| 国产精品久久久久久久久搜平片| 成人毛片老司机大片| 欧美日本一区二区在线观看| 青青草国产成人av片免费| 日韩欧美在线电影| 亚洲免费观看高清完整版在线观看熊 | 亚洲视频图片小说| 成人看片黄a免费看在线| 欧美性高清videossexo| 奇米精品一区二区三区四区| 亚洲欧洲一区二区在线观看| 久久九九影视网| 99精品偷自拍| 久久精品夜色噜噜亚洲a∨| 成人三级伦理片| 欧美精品一区二区久久婷婷| 91在线免费播放| 久久天天做天天爱综合色| 成人激情免费视频| 精品国产乱码久久久久久牛牛| 成人午夜电影网站| 26uuu久久综合| 91老司机福利 在线| 国产日韩精品一区二区三区| av一区观看| 尤物在线观看一区| 色综合天天狠狠| 国产一区二区看久久| 欧美成人在线直播| 91在线免费看片| 亚洲视频在线观看一区| 台湾成人av| 麻豆高清免费国产一区| 在线观看91av| 91在线云播放| 日韩毛片视频在线看| 亚洲高清资源综合久久精品| 青青草原综合久久大伊人精品| 欧美体内she精视频| 夫妻av一区二区| 国产精品免费视频观看| 午夜一区二区三视频在线观看| 麻豆精品在线播放| 精品国免费一区二区三区| 99电影在线观看| 亚洲一区在线观看视频| 欧美美女一区二区| 国产高清自拍一区| 五月激情综合婷婷| 欧美一级日韩免费不卡| 翡翠波斯猫1977年美国| 亚洲愉拍自拍另类高清精品| 在线区一区二视频| av男人天堂一区| 亚洲香肠在线观看| 7878成人国产在线观看| 国产精品av一区| 天天亚洲美女在线视频| 欧美岛国在线观看| 欧美久久久久久| 韩日欧美一区二区三区| 国产日韩高清在线| 亚洲午夜在线观看| 成人黄色综合网站| 夜夜嗨av一区二区三区四季av| 欧美日韩免费观看一区二区三区| av成人动漫在线观看| 亚洲色图20p| 欧美中文字幕一区| 国产九色91| 国产九九视频一区二区三区| 亚洲人成伊人成综合网小说| 欧美日韩三级在线| 久久人人九九| 国产一区二区三区电影在线观看 | 亚洲精品视频在线观看免费| 欧美日韩在线综合| 狠狠色综合网站久久久久久久| 免费视频一区二区| 国产日韩欧美不卡| 欧洲av在线精品| 国产一区二区无遮挡| 国内精品视频666| 亚洲日本在线视频观看| 欧美性大战久久久| 蜜桃视频成人| 成人精品一区二区三区中文字幕| 亚洲国产成人av好男人在线观看| 2017欧美狠狠色| 欧美优质美女网站| 欧美一区二区三区四区在线观看地址| 福利电影一区二区| 久久精品久久99精品久久| 亚洲欧洲性图库| 久久久夜色精品亚洲| 91精品福利在线| 日韩.欧美.亚洲| 粉嫩av一区二区三区免费观看| 高清在线观看日韩| 久久超碰97中文字幕| 亚洲综合在线视频| 国产精品麻豆视频| 亚洲精品在线电影| 91精品啪在线观看国产60岁| 亚洲欧美日产图| 蜜桃麻豆www久久国产精品| 91在线视频官网| 国产成人在线视频网站| 玖玖九九国产精品| 日韩精彩视频在线观看| 一区二区三区久久| 亚洲视频 欧洲视频| 国产视频一区在线观看| 91精品国产高清一区二区三区| 日本黄色一区二区| 一本色道久久综合亚洲91| 日韩三级在线播放| 日本一区视频在线观看| 久久免费一区| 国产精品乱码视频| 99在线高清视频在线播放| av激情综合网| 99久久er热在这里只有精品66| 国产九色sp调教91| 国产风韵犹存在线视精品| 国产麻豆视频精品| 国产精品88av| 成人永久看片免费视频天堂| 成人午夜免费电影|