qt 5.12.1_static_win32_msvc_x86_debug_and_release.71 包含debug、release,编译花了1个多小时, 解压后,在VS2017--> Qt VS Tools--> Qt Version 添加解压后的完整路径即可。 VS2017编译的,编译参数: configure.bat -static -prefix "E:\ qt " -confirm-license -opensource -debug-and-release -platform win32-msvc -nomake examples -nomake tests -plugin-sql-sqlite -plugin-sql-odbc - qt -zlib - qt -libpng - qt -libjpeg -opengl desktop -mp Building on: linux-g++ (x86_64, CPU features: mmx sse sse2) Building for: linux-aarch64-gnu-g++ (arm64, CPU features: neon) Target compiler: gcc 6.3.1 Configuration: cross_compile use_gold_linker compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 concurrent dbus reduce_exports stl Build options: Mode ................................... release Optimize release build for size ........ no Building shared libraries .............. yes Using C standard ....................... C11 Using C++ standard ..................... C++14 Using ccache ........................... no Using gold linker ...................... yes Using new DTAGS ........................ yes Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: NEON ................................. yes Build parts ............................ libs Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... yes udev ................................... no Using system zlib ...................... yes Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ no GLib ................................... no iconv .................................. yes ICU .................................... no Tracing backend ........................ Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... no Qt Network: getifaddrs() ........................... yes IPv6 ifname ............................ yes libproxy ............................... no Linux AF_NETLINK ....................... yes OpenSSL ................................ yes Qt directly linked to OpenSSL ........ no OpenSSL 1.1 ............................ no DTLS ................................... yes SCTP ................................... no Use system proxies ..................... yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ no HarfBuzz ............................... yes Using system HarfBuzz ................ no Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... yes PNG .................................. yes Using system libpng ................ no EGL .................................... no OpenVG ................................. no OpenGL: Desktop OpenGL ....................... no OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no OpenGL ES 3.2 ........................ no Vulkan ................................. no Session Management ..................... yes Features used by QPA backends: evdev .................................. yes lib input ............................... no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon .............................. no X11 specific: XLib ................................. no EGL on X11 ........................... no QPA backends: DirectFB ............................... no EGLFS .................................. no LinuxFB ................................ yes VNC .................................... yes Mir client ............................. no Qt Sql: SQL item models ........................ yes Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows Qt PrintSupport: CUPS ................................... no Qt Sql Drivers: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... no PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt Testlib: Tester for item models ................. yes Qt SerialBus: Socket CAN ............................. yes Socket CAN FD .......................... yes Qt QML: QML network support .................... yes QML debugging and profiling support .... yes QML sequence object .................... yes QML list model ......................... yes QML XML http request ................... yes QML Locale ............................. yes QML delegate model ..................... yes Qt Quick: Direct3D 12 ............................ no AnimatedImage item ..................... yes Canvas item ............................ yes Support for Qt Quick Designer .......... yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes TableView item ......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes Repeater item .......................... yes ShaderEffect item ...................... yes Sprite item ............................ yes Qt Scxml: ECMAScript data model for Qt Scxml ...... yes Qt Gamepad: SDL2 ................................... no Qt 3D: Assimp ................................. yes System Assimp .......................... no Output Qt 3D Job traces ................. no Output Qt 3D GL traces .................. no Use SSE2 instructions .................. no Use AVX2 instructions .................. no Aspects: Render aspect ........................ yes Input aspect ......................... yes Logic aspect ......................... yes Animation aspect ..................... yes Extras aspect ........................ yes Qt 3D Renderers: OpenGL Renderer ........................ yes Qt 3D GeometryLoaders: Autodesk FBX ........................... no Qt Wayland Client ........................ no Qt Wayland Compositor .................... no Qt Bluetooth: BlueZ .................................. no BlueZ Low Energy ....................... no Linux Crypto API ....................... no WinRT Bluetooth API (desktop & UWP) .... no Qt Sensors: sensorfw ............................... no Qt Quick Controls 2: Styles ................................. Default Fusion Imagine Material Universal Qt Quick Templates 2: Hover support .......................... yes Multi-touch support .................... yes Qt Positioning: Gypsy GPS Daemon ....................... no WinRT Geolocation API .................. no Qt Location: Qt .labs.location experimental QML plugin . yes Geoservice plugins: OpenStreetMap ........................ yes HERE ................................. yes Esri ................................. yes Mapbox ............................... yes MapboxGL ............................. no Itemsoverlay ......................... yes Qt XmlPatterns: XML schema support ..................... yes Qt Multimedia: ALSA ................................... no GStreamer 1.0 .......................... no GStreamer 0.10 ......................... no Video for Linux ........................ yes OpenAL ................................. no PulseAudio ............................. no Resource Policy (libresource qt 5) ....... no Windows Audio Services ................. no DirectShow ............................. no Windows Media Foundation ............... no Qt Tools: QDoc ................................... no Qt WebEngine: Embedded build ......................... yes Pepper Plugins ......................... no Printing and PDF ....................... no Proprietary Codecs ..................... no Spellchecker ........................... yes Native Spellchecker .................... no WebRTC ................................. no Use System Ninja ....................... no Geolocation ............................ yes WebChannel support ..................... yes Use v8 snapshot ........................ yes Kerberos Authentication ................ no Building v8 snapshot supported ......... yes Use ALSA ............................... no Use PulseAudio ......................... no Optional system libraries used: re2 .................................. no icu .................................. no libwebp, libwebpmux and libwebpdemux . no opus ................................. no ffmpeg ............................... no libvpx ............................... no snappy ............................... no glib ................................. no zlib ................................. yes minizip .............................. no libevent ............................. no jsoncpp .............................. no protobuf ............................. no libxml2 and libxslt .................. no lcms2 ................................ no png .................................. no JPEG ................................. no harfbuzz ............................. no freetype ............................. no x11 .................................. no Required system libraries: fontconfig ........................... no dbus ................................. no nss .................................. no khr .................................. no glibc ................................ yes Required system libraries for qpa-xcb: libdrm ............................... no xcomposite ........................... no xcursor .............................. no xi ................................... no xrandr ............................... no xtst ................................. no Note: Also available for Linux: linux- clang linux-icc Minecraft 文件夹是:C:/Users/Morgan/Desktop/mmc-stable-win32 (1)/MultiMC/instances/All-the-Mods-3-v5.12.1/minecraft Java路径为:C:/Program Files/AdoptOpenJDK/jdk-8.0.212.04-openj9/bin/javaw.exe 1.8.0_212,使用 主类:net.minecraft.launchwrapper.Launch 本机路径:C:/Users/Morgan/Desktop/mmc-stable-win32(1)/MultiMC/instances/All-the-Mods-3-v5.12.1/natives 库:C:/Users/Morgan/Desktop/mmc-stable-win32 (1)/MultiMC/libraries/net/java/j input /j input /2.0.5/j input -2.0.5.j 通过QML开发安卓应用。然后根据书上的示例启动应用。 error : cannot find -lc++ clang ++: error : linker command failed with exit code 1 再确认开发环境选项中都没有配置 误后。去百度各种搜索。终于找到了问题的解决办法(貌似这是 QT 的一个bug) 去到 QT 安装目录下安卓构建套件中修改qmake.conf配置文件: # 路径(根据自己的 QT 安装路径来选择): # D:\ Qt \ Qt 5.12.2\5.12.2\android_armv 我们去到这个目录~/android-8.1.0_r1/prebuilts/sdk/tools,是源代码下面的一个prebuild tool目录,输入指令./jack-admin dump-report,就会出来如下Log。可以在进入这个文件/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security。原文链接:https://blog.csdn.net/learnframework/article/details/116861979。 环境:windows QT 5.13.0 Qt Creator 4.9.1NDK r20创建一个qml的程序,选择生成android for armeabi-v7a编译链接时 bin\ld: error : cannot find -lc++ clang ++: error : linker command failed with exit code 1 (use -v to see invocation)... 本文介绍ClickHouse源码的编译安装,并介绍了如何通过lldb来调试Clickhouse。 安装依赖的包和工具 $ brew install cmake ninja libtool gettext 源码比较大,可能时间比较长一些。 $ git clone --recursive https://github.com.cnpmjs.org/ClickHouse/ClickHouse.git # 若是中断可以使用以下命令 $ git fetch --rec 第三次入坑 前两次本以为记住了,结果第三次再次在Linux下安装 qt creator依然捣鼓搞了半天,才决定将这些步骤记下来,<\笑哭> 1、在你安装好 qt creator之后,新建有一个 qt 项目,构建的时候就会出现上述标题 误,这个时候在Ubuntu终端下安装一个 clang ,(虽然 clang ++,但是我安装 clang ++给我 一大堆 误)-----> sudo apt-get ... 遇到的问题: 一个程序在Linux系统中可以编译通过,在Linux和Unix的共享文件夹中编译时, 出以下 误:、 fatal error : XXX input / output error ,recipe for target X failed. 产生此 误的原因: 根据系统的提示信息,在生成可执行文件时出 。原因是存在目标文件的位置是Linux和 编译python android 的时候 : /home/qy/Documents/NDK/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: fatal error : ./obj/local/x86_64/ 昨天用UltraISO将U盘做成启动盘后,安装Ubuntu,发生[ error 5] Input / Output error 误。搜索资料,发现说的千篇一律,都是复制粘贴的,这无所谓,但关键是根本解决不了我们的问题。废话不长,我们直接来说出 的原因:u盘里的文件 误导致。[ error 5] Input / Output error 这个 误说的没有 ,导致文件出 的原因是,下载后的Ubuntu.ISO在写入u盘... Aug 17 10:08:51 localhost sh: command_check_call: Running command: /usr/bin/ceph-osd --cluster ceph --mkfs -i 0 --monmap /var/lib/ceph/tmp/mnt.nSTAMT/activate.monma xfsdump -l 0 -L opt_all -M opt_data_all -f opt_fs_metadata.dump /opt 2、通过losf 和 ps -ef找到之前和磁盘目录打开的文件、相关的进程,kill掉 3、umount /opt