Qt5.7.0配置选项(configure非常详细的参数)

2023-10-27

configure是一个命令行工具,用于配置Qt编译到指定平台。configure必须运行于Qt源码根目录。当运行configure时,编译源码使用的是所选工具链中的make工具。

一.源码目录、编译目录和安装目录

源码目录就是包含源码的目录。编译目录是包含Makefiles文件、object文件和其他中间文件的目录。安装目录是二进制文件和库文件安装的目录。

当编译目录和源码目录不一样时,称为影子编译(shadow build),比如说,Qt Creator默认是使用影子编译来编译工程的。这里也可以使用影子编译,方法就是新建一个目录,然后cd到该目录中运行configure,如下所示。

  1. mkdir ~/qt-build  
  2. cd ~/qt-build  
  3. ~/qt-source/configure 

此时,configure时生成的Makefiles文件,以及编译时生成的中间文件都会拷贝到qt-build目录。不仅如此,通过影子编译,可以同时进行多个不同配置选项的编译过程,互不影响。
默认的安装目录和平台相关,但是在configure时,可以通过-prefix选项指定安装目录,比如./configure -prefix /opt/Qt-5.7。这样一来,在执行make install指令时,编译完成的bin、lib或者其他子目录就会拷贝到/opt/Qt-5.7目录中。

二.包含和排除Qt模块

通过configure,可以包含或排除指定的Qt模块。需要注意的是,许多模块依赖于其他的模块,不恰当的配置选项会导致依赖问题。

1.排除Qt模块

使用configure的-skip选项可以排除Qt模块,一般情况下模块名就是源码目录中对应的子目录名。有些子目录会包含多个模块,比如说qtconnectivity目录就包含了Qt NFC模块和Qt Bluetooth模块,排除这两个模块需要将-skip qtconnectivity作为配置参数,如下所示。

  1. ./configure -skip qtconnectivity  

2.包含或排除特性

-feature-<feature> 和 -no-feature-<feature>选项用于包含和排除特性。可用的<feature>都被罗列在tbase/src/corelib/global/qfeatures.txt文件中。比如,要禁用accessibility特性,可用使用-no-feature-accessibility选项,如下所示。

  1. ./configure -no-feature-accessibility  

三.第三方库

Qt源码中包含了一些第三方库,如果想使用Qt自带的第三方库,可用通过-qt配置;如果想使用系统中的第三方库,可用通过-system配置。下表中列出一些第三方库及其配置选项。

Library Name Bundled in Qt Installed in System
zlib -qt-zlib -system-zlib
libjpeg -qt-libjpeg -system-libjpeg
libpng -qt-libpng -system-libpng
xcb -qt-xcb -system-xcb
xkbcommon -qt-xkbcommon -system-xkbcommon
freetype -qt-freetype -system-freetype
PCRE -qt-pcre -system-pcre
HarfBuzz-NG -qt-harfbuzz -system-harfbuzz

当然,也可以禁用这些第三方库,用-no替换-qt就行,如下所示。

  1. ./configure -no-zlib -qt-libjpeg -qt-libpng -system-xcb  

四.编译选项

-platform选项指定了目标平台和编译时使用的编译器,Qt支持的平台和编译器都在qtbase/mkspecs目录中。比如,在Ubuntu Linux系统中,Qt能被多种编译器编译,比如clang和g++,如下所示。

  1. ./configure -platform linux-clang  
  2. ./configure -platform linux-g++  
  3. ./configure -platform linux-g++-32  

对于Windows系统,可以用MinGW或者Visual Studio工具链,如下所示。

  1. configure.bat -platform win32-g++  
  2. configure.bat -platform win32-msvc2010  

五.交叉编译选项

通用的选项如下所示。

-xplatform:指定目标平台,可用的xplatform与platform类似,也在qtbase/mkspecs目录中。

-device:指定特殊的设备或芯片,configure兼容的device在qtbase/mkspecs/devices目录中。

-device-option:设置额外的qmake参数,比如,-device-option CROSS_COMPILE=<path-to-toolchain>提供了特定设备交叉编译所需的环境变量。

六.Windows中使用OpenGL选项

在Windows中,Qt可以配置使用系统的OpenGL或者自带的ANGLE。默认情况下,Qt会配置使用ANGLE,ANGLE依赖于DirectX SDK。ANGLE使得依赖于OpenGL的Qt应用程序可以在没有安装OpenGL的机器上运行。

-opengl选项可以配置Qt使用目标机器上的OpenGL,如下所示。

  1. configure.bat -opengl desktop  

desktop选项告知Qt使用Windows上的OpenGL,当然前提是要求Windows上的OpenGL与Qt兼容。

-opengl选项支持两个版本的OpenGL ES,一个是es2,一个是es1,如下所示。

  1. configure.bat -opengl es2  

七.configure -h

configure -h与configure -help功能相同,显示所有配置选项。以下是Windows上Qt5.7.0的配置选项。

Installation options:

These are optional, but you may specify install directories.

 -prefix <dir> ...... The deployment directory, as seen on the target device.(default %CD%)

-extprefix <dir> ... The installation directory, as seen on the host machine.(default SYSROOT/PREFIX)

 -hostprefix [dir] .. The installation directory for build tools running onthe host machine. If [dir] is not  given, 

the current builddirectory will be used. (default EXTPREFIX) 

You may use these to change the layout of the install. Note that all directories except -sysconfdir should be located under -prefix/-hostprefix:

 -bindir <dir> ...... User executables will be installed to <dir>.(default PREFIX/bin) 

-libdir <dir> ...... Libraries will be installed to <dir>.(default PREFIX/lib)

 -headerdir <dir> ... Headers will be installed to <dir>. (default PREFIX/include) 

 -archdatadir <dir> . Architecture-dependent data used by Qt will be installed to <dir>.(default PREFIX)

 -libexecdir <dir> .. Program executables will be installed to <dir>.(default ARCHDATADIR/bin)

-plugindir <dir> ... Plugins will be installed to <dir>.(default ARCHDATADIR/plugins)

  -importdir <dir> ... Imports for QML1 will be installed to <dir>.(default ARCHDATADIR/imports)

-qmldir <dir> ...... Imports for QML2 will be installed to <dir>.(default ARCHDATADIR/qml)

  -datadir <dir> ..... Data used by Qt programs will be installed to <dir>.(default PREFIX)

 -docdir <dir> ...... Documentation will be installed to <dir>.(default DATADIR/doc)

-translationdir <dir> Translations of Qt programs will be installed to <dir>.(default DATADIR/translations)

-examplesdir <dir> . Examples will be installed to <dir>.(default PREFIX/examples)

 -testsdir <dir> .... Tests will be installed to <dir>.(default PREFIX/tests)

 -hostbindir <dir> .. Host executables will be installed to <dir>.(default HOSTPREFIX/bin)

-hostlibdir <dir> .. Host libraries will be installed to <dir>.(default HOSTPREFIX/lib)

-hostdatadir <dir> . Data used by qmake will be installed to <dir>.(default HOSTPREFIX)    

Configure options:

The defaults (*) are usually acceptable. A plus (+) denotes a default value that needs to be evaluated. If the evaluation succeeds, the feature is included. Here is a short explanation of each option:

 -release ........... Compile and link Qt with debugging turned off.

 *  -debug ............. Compile and link Qt with debugging turned on.

+  -debug-and-release . Compile and link two Qt libraries, with and without debugging turned on.

-force-debug-info .. Create symbol files for release builds.

 -separate-debug-info Strip debug information into a separate file.

-developer-build ... Compile and link Qt with Qt developer options(including auto-tests exporting)     

 -optimized-tools ... Build optimized host tools even in debug build.

 *  -no-optimized-tools Do not build optimized host tools even in debug build

  -opensource ........ Compile and link the Open-Source Edition of Qt.

 -commercial ........ Compile and link the Commercial Edition of Qt.

  -C++std <edition> .. Compile Qt with C++ standard edition (c++11, c++14, c++1z)Default: highest supported. 

  This  option is notsupported for MSVC.     

-use-gold-linker ... Link using the GNU gold linker (gcc only).

 *  -no-use-gold-linker Do not link using the GNU gold linker.

 -enable-new-dtags .. Use new DTAGS for RPATH (Linux only).

 *  -disable-new-dtags . Do not use new DTAGS for RPATH.

*  -shared ............ Create and use shared Qt libraries.

-static ............ Create and use static Qt libraries.

 *  -static-runtime .... Statically link the C/C++ runtime library.

  -ltcg .............. Use Link Time Code Generation. (Release builds only)

 *  -no-ltcg ........... Do not use Link Time Code Generation.

-make <part> ....... Add part to the list of parts to be built at make time,list containslibs,tools,examples   

 -nomake <part> ..... Exclude part from the list of parts to be built.

-skip <module> ..... Exclude an entire module from the build.

  -no-compile-examples Install only the sources of examples.

-no-widgets ........ Disable Qt Widgets module.

 -no-gui ............ Disable Qt GUI module.

-no-accessibility .. Disable accessibility support.Disabling accessibility is not recommended, as it willbreak 

QStyle and may break other internal parts of Qt.With this switch you create a source 

   incompatibleversion of Qt,which is unsupported.        

 *  -accessibility ..... Enable accessibility support.

 -no-sql-<driver> ... Disable SQL <driver> entirely, by default none are turned on.   

 -qt-sql-<driver> ... Enable a SQL <driver> in the Qt Library.

  -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to at run time.Available values for <driver>: 

  MySQL

psql

oci

 odbc

 tds

db2

sqlite

sqlite2

   ibase

 (drivers marked with a '+' have been detected asavailable on this system)  

   -system-sqlite ..... Use sqlite from the operating system.

 -no-opengl ......... Do not support OpenGL.

 -opengl <api> ...... Enable OpenGL support with specified API version.Available values for <api>:
                                  desktop - Enable support for Desktop OpenGL

  dynamic - Enable support for dynamically loadedOpenGL (either desktop or ES)
 *                               es2 - Enable support for OpenGL ES 2.0

*  -no-openvg ......... Disables OpenVG functionality.

  -openvg ............ Enables OpenVG functionality.

-force-asserts ..... Activate asserts in release mode.

-platform <spec> ... The operating system and compiler you are building on.(default %QMAKESPEC%)

-xplatform <spec> .. The operating system and compiler you are cross compiling to.See the README file for a 
                                     list of supported operatingsystems and compilers.

-target ............ Set target OS version. Currently the only valid value is 'xp' for targeting Windows XP.MSVC >=2012
                             targets Windows Vista by default.

 -sysroot <dir> ..... Sets <dir> as the target compiler's and qmake's sysroot and also sets pkg-config paths.   

-no-gcc-sysroot .... When using -sysroot, it disables the passing of --sysroot to the compiler.

  -qconfig <local> ... Use src/corelib/global/qconfig-<local>.h rather than the default 'full'.      

*  -no-nis ............ Do not compile NIS support.

  -nis ............... Compile NIS support.

 -no-iconv .......... Do not enable support for iconv(3).

 +  -iconv ............. Enable support for iconv(3).

+  -sun-iconv ......... Enable support for iconv(3) using sun-iconv.

 +  -gnu-iconv ......... Enable support for iconv(3) using gnu-libiconv.

 -no-evdev .......... Do not enable support for evdev.

+  -evdev ............. Enable support for evdev.

 -no-mtdev .......... Do not enable support for mtdev.

+  -mtdev ............. Enable support for mtdev.

+  -inotify ........... Explicitly enable Qt inotify(7) support.

-no-inotify ........ Explicitly disable Qt inotify(7) support.

+  -eventfd ........... Enable eventfd(7) support in the UNIX event loop.

-no-eventfd ........ Disable eventfd(7) support in the UNIX event loop.

*  -largefile ......... Enables Qt to access files larger than 4 GB.

-posix-ipc ......... Enable POSIX IPC.

   -glib .............. Compile Glib support.

-sysconfdir <dir> .. Settings used by Qt programs will be looked for in <dir>.      

-system-proxies .... Use system network proxies by default.

*  -no-system-proxies . Do not use system network proxies by default.

 +  -warnings-are-errors Make warnings be treated as errors.

 -no-warnings-are-errors Make warnings be treated normally.

-qtnamespace <name> Wraps all Qt library code in 'namespace name {...}'.

 -qtlibinfix <infix> Renames all Qt* libs to Qt*<infix>.

  -D <define> ........ Add an explicit define to the preprocessor.

-I <includepath> ... Add an explicit include path.

 -L <librarypath> ... Add an explicit library path.

 -l <libraryname> ... Add an explicit library name, residing in a librarypath.

   -no-pch ............ Do not use precompiled header support.

*  -pch ............... Use precopmiled header support.

-help, -h, -? ...... Display this information.

Third Party Libraries:

 -qt-zlib ........... Use the zlib bundled with Qt.

 +  -system-zlib ....... Use zlib from the operating system.See http://www.gzip.org/zlib  

-qt-pcre ........... Use the PCRE library bundled with Qt.

+  -system-pcre ....... Use the PCRE library from the operating system.See http://pcre.org/ 

 -icu ............... Use the ICU library.

*  -no-icu ............ Do not use the ICU library.See http://site.icu-project.org/

 -no-gif ............ Do not compile GIF reading support.

-no-libpng ......... Do not compile PNG support.

 -qt-libpng ......... Use the libpng bundled with Qt.

 +  -system-libpng ..... Use libpng from the operating system.See http://www.libpng.org/pub/png

   -no-libjpeg ........ Do not compile JPEG support.

 -qt-libjpeg ........ Use the libjpeg bundled with Qt.

 +  -system-libjpeg .... Use libjpeg from the operating system.See http://www.ijg.org

 -no-doubleconversion Use sscanf_l and snprintf_l for (imprecise) double con version.

-qt-doubleconversion Use the libdouble-conversion bundled with Qt.

-system-doubleconversion Use the libdouble-conversion provided by the system.

  -no-freetype ....... Do not compile in Freetype2 support.

*  -qt-freetype ....... Use the libfreetype bundled with Qt.

-system-freetype ... Use the libfreetype provided by the system.

 -fontconfig ........ Build with FontConfig support.

*  -no-fontconfig ..... Do not build with FontConfig support.

  -no-harfbuzz ....... Do not compile in HarfBuzz-NG support.

*  -qt-harfbuzz ....... Use HarfBuzz-NG bundled with Qt to do text shaping.It can still be disabled by settingthe 

  QT_HARFBUZZ environment variable to "old".  

 -system-harfbuzz ... Use HarfBuzz-NG from the operating system to do text shaping. It can still be disabled by 

  setting the QT_HARFBUZZ environment variable to"old".See http://www.harfbuzz.org 

 +  -angle ............. Use the ANGLE implementation of OpenGL ES 2.0.

   -no-angle .......... Do not use ANGLE.See http://code.google.com/p/angleproject/

Qt for Windows only:

-no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to custom build steps. 

 and UIC steps,and other custom buildsteps which are added to theINCREDIBUILD_XGE 

variable.(The IncrediBuild distribution commands are only addedto Visual Studio projects)

 *  -no-plugin-manifests Do not embed manifests in plugins.

-plugin-manifests .. Embed manifests in plugins.

 -no-qmake .......... Do not compile qmake.

*  -qmake ............. Compile qmake.

-qreal [double|float] typedef qreal to the specified type. The default is double.Note that changing this flag affects binary compatibility.  
    -no-rtti ........... Do not compile runtime type information.

 *  -rtti .............. Compile runtime type information.
    -no-strip .......... Do not strip libraries and executables of debug info when installing.

*  -strip ............. Strip libraries and executables of debug info when installing.
    -no-sse2 ........... Do not compile with use of SSE2 instructions.

 +  -sse2 .............. Compile with use of SSE2 instructions.
    -no-sse3 ........... Do not compile with use of SSE3 instructions.

 +  -sse3 .............. Compile with use of SSE3 instructions.
    -no-ssse3 .......... Do not compile with use of SSSE3 instructions.

+  -ssse3 ............. Compile with use of SSSE3 instructions.
    -no-sse4.1 ......... Do not compile with use of SSE4.1 instructions.

 +  -sse4.1 ............ Compile with use of SSE4.1 instructions.
    -no-sse4.2 ......... Do not compile with use of SSE4.2 instructions.

+  -sse4.2 ............ Compile with use of SSE4.2 instructions.
    -no-avx ............ Do not compile with use of AVX instructions.

+  -avx ............... Compile with use of AVX instructions.
    -no-avx2 ........... Do not compile with use of AVX2 instructions.

 +  -avx2 .............. Compile with use of AVX2 instructions.
    -no-avx512 ......... Do not compile with use of AVX512 instructions.

+  -avx512 ............ Compile with use of AVX512 instructions.
    -no-ssl ............ Do not compile support for SSL.

 +  -ssl ............... Enable run-time SSL support.
    -no-openssl ........ Do not compile support for OpenSSL.

+  -openssl ........... Enable run-time OpenSSL support.
    -openssl-linked .... Enable linked OpenSSL support.

 -no-libproxy ....... Do not compile in libproxy support.

 +  -libproxy .......... Compile in libproxy support (for cross compilation targets).
    -no-dbus ........... Do not compile in D-Bus support.
    -dbus-linked ....... Compile in D-Bus support and link to libdbus-1.
    -dbus-runtime ...... Compile in D-Bus support and load libdbus-1 dynamically.
    -no-audio-backend .. Do not compile in the platform audio backend into Qt Multimedia.
 +  -audio-backend ..... Compile in the platform audio backend into Qt Qt Multimedia.

*  -no-wmf-backend .... Do not compile in the windows media foundation backend into Qt Multimedia.

 -wmf-backend ....... Compile in the windows media foundation backend into Qt Multimedia.

-no-qml-debug ...... Do not build the in-process QML debugging support.

*  -qml-debug ......... Build the in-process QML debugging support.

  -no-directwrite .... Do not build support for DirectWrite font rendering.

+  -directwrite ....... Build support for DirectWrite font rendering.

*  -no-direct2d ....... Do not build the Direct2D platform plugin.

 -direct2d .......... Build the Direct2D platform plugin (experimental,requires Direct2D availability on target systems,
                              e.g. Windows 7 with Platform Update, Windows 8, etc.)

 -no-style-<style> .. Disable <style> entirely.

 -qt-style-<style> .. Enable <style> in the Qt Library.

 Available styles:

 *                               windows

 +                              windowsxp

+                              windowsvista

*                               fusion

 -no-native-gestures Do not use native gestures on Windows 7.

*  -native-gestures ... Use native gestures on Windows 7.

*  -no-mp ............. Do not use multiple processors for compiling with MSVC

-mp ................ Use multiple processors for compiling with MSVC (-MP).

 -loadconfig <config> Run configure with the parameters from file configure_<config>.cache.

-saveconfig <config> Run configure and save the parameters in file configure_<config>.cache.

-redo .............. Run configure with the same parameters as last time.

   -v, -verbose ....... Run configure tests with verbose output.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Qt5.7.0配置选项(configure非常详细的参数) 的相关文章

  • QFileInfo::isWritable() 在 Windows 7 上具有完全权限时返回 false

    QFile file filePath QFileInfo fileInfo file file open QIODevice ReadWrite or WriteOnly if fileInfo isWritable Log error
  • 如何将枚举类传递给 QML?

    我正在学习QML with Qt并在通过时遇到一些麻烦enum class to qml 当我使用信号时int参数 一切正常 代码运行完美 But 麻烦就在这里 如果我使用信号与一些enum class我有参数undefinedqml 信号
  • 如何从 Qt 应用程序通过 ODBC 连接到 MySQL 数据库?

    我有一个新安装的 MySQL 服务器 它监听 localhost 3306 从 Qt 应用程序连接到它的正确方法是什么 原来我需要将MySQL添加到ODBC数据源 我在遵循这个视频教程后做到了这一点 https youtu be K3GZi
  • 如何在 Qt simple 上解密/加密某些字符串(例如密码)

    这是我得到的 Qt SDK版本4 6 2 视窗XP 问题 我怎样才能简单地加密和简单地加密QString价值 我需要它能够将一些加密的字符串保存到 INI 文件中 并在重新打开应用程序后将字符串加密为正常的密码字符串值 PS 我正在寻找简单
  • 如何在 Qt-Creator 中添加自定义构建步骤?

    构建我的应用程序后 我想将其复制到特定目录 在 Windows 7 上 自定义构建步骤 cmd exe c k copy MyPlugin dll HostApp Debug plugins 但我有错误 Can t run process
  • Qt 编译器标志顺序

    我的目标是消除某些类型的编译器警告 我发现可以通过在 pro 文件中添加编译器标志来做到这一点 QMAKE CXXFLAGS Wno unused variable Wno reorder 问题是它们被添加在 Qt 构建系统生成的标志之前
  • Qt 创建者 4.8.4。 Windows 7 - 64 位安装

    我在 QT 方面遇到了一些困难 我需要在学校使用它来完成一些 GUI 应用程序 我最近完成了以下步骤 1 mingw get inst 20120426 exefrom 来源锻造 http sourceforge net projects
  • PyQt 和 QSignalMapper/lambdas - 多个信号,单槽

    我在 PyQt 的菜单上有一个操作列表 每个操作对应我想要显示的每个不同的提要 所以我有一个 Y 将活动源设置为 Y Z 将其设置为 Z 等等 对于网络漫画阅读程序 我的菜单上都有 并且觉得自动化方法可能更好 而不是每次都打字 类似于将其添
  • cmake 找不到 Qt4

    由于4 8 0已经发布 我重新安装了Qt 现在我也想使用cmake 为了使 cmake 工作 我记得必须添加 mingw bin 文件夹 QtSDK Desktop Qt 4 7 3 到Qt4 7 3中的PATH 所以我猜测在中会有一个类似
  • 如何使用 qt 库中的调试符号为 qt 5.5 创建开发 shell

    我有一个开发外壳buildInputs条目包括qt55 qtbase 这很好用 今天 我在 qt 库中发生了段错误 我想要带有调试符号的 qt 库 我看了一下nixpkgs pkgs development libraries qt 5 5
  • QT C++ QRegularExpression 多个匹配

    我想使用正则表达式从 QString html 中提取信息 我明确想使用正则表达式 无解析器解决方案 和类Q正则表达式 http qt project org doc qt 5 0 qtcore qregularexpression htm
  • 在 Windows 上以 QML 播放 RTSP 视频

    我正在尝试将 QML 中的 RTSP 流播放到视频标签中 如下所示 Repeater model 8 Video Layout fillWidth true Layout fillHeight true fillMode VideoOutp
  • MSVC C4100:“应用程序”:未引用的形式参数警告

    使用 MSVC 编译时 以下代码会生成 C4100 警告 这怎么可能 显然引用了 应用程序 class ApplicationInfo public QObject Q OBJECT public static void initializ
  • QGraphicsSimpleTextItem“无效使用不完整类型”

    我的代码如下 指针部件 h QGraphicsSimpleTextItem text 指针控件 cpp void PointerWidget placeNumbers float spacing int currentTickNumber
  • 在 QML 中控制纹理 3D 对象的不透明度

    我对 QML 中的 Qt 3D 有点陌生 我正在尝试控制 Qt 3D 的不透明度textured3D 对象 我正在使用简单qml3d https github com tripolskypetr simpleqml3d测试项目来做到这一点
  • QWebView等待加载

    bool MainWindow waitForLoad QWebView view QEventLoop loopLoad QTimer timer QObject connect view SIGNAL loadFinished bool
  • 使用 QPrinter 打印第 x 页(共 y 页)

    我使用 qt 从 html 代码生成 pdf 文件 QTextDocument document new QTextDocument document gt setHtml htmlContent QPrinter printer QPri
  • 使用信号和槽更新指针

    我对 Qt 很陌生 请帮我解决这个问题 我正在使用线程在后台执行密集操作 同时我想更新 UI 所以我使用 SIGNALS 和 SLOTS 为了更新 UI 我发出一个信号并更新 UI 让我们考虑下面的示例代码 struct sample QS
  • QGraphicsView 在完整布局中未最大化

    I have following GUI having four QGraphicView objects 正如您在每个视图下看到的那样 它有四个工具按钮 为了最大化视图 我连接了工具按钮的信号来隐藏其他三个视图的插槽 并将大小策略设置为扩
  • 在 Qt 中构建 Android 项目不再有效

    所以我对 Android SDK NDK 和 Apache Ant 进行了一些更新 现在我无法构建任何 Android 项目 我收到一条警告 然后它说找不到 build xml 文件 错误 Warning Android platform

随机推荐

  • 一个干净优雅的 Element UI Admin 模板

    Element UI Admin 一个干净优雅的Element UI Admin模板 一个大型单页应用离不开合理的项目结构和一些简单的封装github com xusenlin el Start 克隆或者下载这个仓库 进入项目目录安装依赖
  • 记录好项目D11

    记录好项目 你好呀 这里是我专门记录一下从某些地方收集起来的项目 对项目修改 进行添砖加瓦 变成自己的闪亮项目 修修补补也可以成为毕设哦 本次的项目是个宠物交易 领养系统 一 系统介绍 包括管理员 普通用户两种角色 外加游客 未登录情况 权
  • RT-Thread Studio学习 使用at_device软件包通过ESP8266连接到网络

    本文参考自 https blog csdn net FILLMOREad article details 106233464 ESP8266模块电路图 添加软件包 打开 RT Thread Settings 点击 libc 将其开启 点击添
  • Android Studio中将一个项目转变成library(model)引入到另一个项目中使用

    大家平时在做项目时 会经常应用library作为第三方依赖 那么如果公司中有多个app 其中有部分业务功能逻辑是相似并且可以复用的时候 我们货怎么办呢 简单粗暴的办法就是直接复制过来 但是这样做岂不是复用率不高 以后这部分代码要修改岂不是每
  • linux的几个进程的作用

    author skate time 2011 08 10 linux的几个进程的作用 1 kswapd0 Linux uses kswapd for virtual memory management such that pages tha
  • 目标检测(一):背景差分法

    目标检测是将运动的物体从背景中检测出来 人们希望设计能适用于各种监控环境 不受光照 天气等外界因素影响的目标检测算法 但这种算法难免复杂度大 现有一些算法大多是针对某一类问题提出的 主要包括背景减法 相邻帧差法和光流法等1 1背景减法 背景
  • Vue简单实例——过渡和动画

    前提条件 在显示Vue封装的效果之前 首先我们演示一下 在不经过Vue实例的动画效果 即使用CSS样式进行动画的制作 演示效果 代码实现
  • 巴比特

    摘要 从AI绘画到AI写作 AI敲代码 AI做PPT AI工具逐渐成为都市白领的必备利器 原来要花去8小时的工作现在3小时就能完成 多出来 的5小时用来自我提升 在网络的另一端 从高校毕业的学生到5线城市的准妈妈 他们被招募到大数据公司 专
  • 2023年最新50道Vue全套vue2+vue3面试题带答案汇总

    文章目录 此文章不断更新 欢迎大家在评论区补充 1 什么是MVVM 2 什么是MVC 3 讲一下MVVM 和 MVC的区别 4 vue3和vue2不同点 1 响应式系统的重构 使用proxy替换Object defineProperty属性
  • 如何选择PLC?主要从这8个方面入手

    在PLC系统设计中 首先要确定系统方案 下一步是PLC的设计选择 PLC的选择主要是确定PLC制造商和PLC的具体型号 系统方案需要分布式系统 远程I O系统和网络通信 那么如何选择PLC呢 1 PLC厂家的选择 确定PLC制造商主要应考虑
  • hive 修改表名_hive表新增字段或者修改字段

    1 hive表操作 1 修改表字段的数据类型或者修改表字段名字 如果表是外部表 需要先修改为内部表 alter table 数据库名 表名set tblproperties EXTERNAL FALSE ALTER TABLE 数据库名 表
  • 模糊聚类算法的MATLAB实现

    模糊聚类算法的MATLAB实现 在数据聚类中 常用的算法之一是模糊聚类算法 它能够将数据划分为多个子集 且一个数据点可以被划分到多个子集中 具有很好的灵活性 本文将介绍如何使用MATLAB实现一个基于模糊聚类算法的数据聚类程序 首先 我们需
  • ffmpeg 如何配置编译

    这么长的文章 是转来的 1 ffmpeg介绍 ffmpeg是音视频的分离 转换 编码解码及流媒体的完全解决方案 其中最重要的就是libavcodec库 它被mplayer或者xine使用作为解码器 还有 国内比较流行的播放器影音风暴或MyM
  • ubuntu add/remove software by command

    Ubuntu软件安装与删除相关命令 安装软件 命令 apt get install softname1 softname2 softname3 卸载软件 命令 apt get remove softname1 softname2 softn
  • pikachu靶场 RCE、File include 到 ssrf 详解

    RCE 命令执行 exec ping 命令执行一般常用 这里用的是 发现可以执行系统命令 exec evel 远程命令执行 后台把用户的输入作为代码的一部分进行执行 造成了远程代码执行漏洞 phpinfo 可以上传一句话木马 fputs f
  • 疯壳Android嵌入式Linux平板开发教程4-2GPIO驱动实验

    购买链接 https fengke club GeekMart su fHnaDyD1o jsp 视频地址 https fengke club GeekMart su f5W0Cuz3p jsp 官方QQ群 457586268 GPIO实验
  • 淘宝搜索引擎的缓存机制

    在淘宝搜索系统中中 搜索结果页的缓存 Cache 是对搜索 效率 贡献最大的设计 由于缓存中的搜索结果页都是前人查询的结果 因此用户的查询请求如果在缓存中命中 和前人的查询相同 则查询系统直接把缓存中存放的搜索结果页返回给用户 用户在使用淘
  • Android开发调试工具ADB的使用

    ADB Android Debug Bridge 是Android SDK中的一个工具 使用ADB可以直接操作管理Android模拟器或者真实的Andriod设备 ADB主要功能有 1 在Android设备上运行Shell 命令行 2 管理
  • python 分类_简单机器学习入门教程:用Python解决简单的水果分类问题

    在这篇机器学习入门教程中 我们将使用Python中最流行的机器学习工具scikit learn 在Python中实现几种机器学习算法 使用简单的数据集来训练分类器区分不同类型的水果 这篇文章的目的是识别出最适合当前问题的机器学习算法 因此
  • Qt5.7.0配置选项(configure非常详细的参数)

    configure是一个命令行工具 用于配置Qt编译到指定平台 configure必须运行于Qt源码根目录 当运行configure时 编译源码使用的是所选工具链中的make工具 一 源码目录 编译目录和安装目录 源码目录就是包含源码的目录