Qt compiler options. In the dialog that comes up, choose the new qmake.
Qt compiler options rcc file. configure 是一个命令行工具,可帮助您从源代码构建自定义版本的 Qt 。 Cross-Compilation Options. But it would take a very long time to I'm using QT Visual Studio tools 3. In the Path field, enter the path to the Qt installation. What you are looking for is the right compiler to do the job. In Language, select the language to compile. Problem solved. 2 for Windows 64-bit (VS 2013, OpenGL, 573 MB)" I'm unable to compile my project. Note: Qt Creator is separate from Qt. txt is: cmake_minimum_required(VERSION 3. Now it works good. 7. 6, MSVC error: Qt Creator needs a compiler set up to build. It explains simple steps to set up Qt and Qt Creator with minimum fuss. Building Qt Sourceslists such dependencies per platform. 12. Scheduled Pinned Locked Moved Solved Qt Creator and other tools 7 Posts 3 Posters 459 And normally the compiler is in: QT/Tools/mingw810_64/bin/g++ . This can be changed by using the -prefix option. In general, you seem to lack the compiler and proper "kit" installation. 2 and VS2017_64. My CMakeLists. 7, you can use DEPLOY_TOOL_OPTIONS to pass additional options to the underlying deployment tool. If not, download the correct version, or compile Qt source code yourself. If you're doing multi compiler builds you can add a new build and rename it. I have CMake-based Qt5 project with precompiled headers (Common. 1k次,点赞3次,收藏12次。Windows64位平台Qt Creator报错:"Qt Creator needs a compiler set up to build. 14. To use Qt Creator for Qt development, you also need to install a Qt version and a compiler. Could you give me some advise please? To build Qt from sources you need a build environment with a supported compiler and various build tools. If Ninja is installed, it is automatically chosen as CMake generator. 0 and the cdb debugger. To prevent this, specify NO_COMPILER_RUNTIME. How to set MinGW (built-in or external) instead of MSVC? Couldn't find any post which can help a newbie to know how to change the compiler of desired preference. 4 (64 bit) Creator Two years ago I installed QT 5. bat -platform win32-msvc2010 Afterwards, the generated Makefiles will use the appropriate 文章浏览阅读1. Note that you need to use /Z7 compiler option for Debug and RelWithDebInfo build types. In the Compiler path field, enter the path to the directory where the I added -std=c++2b directly in the mkspec config and that works ok, but it seems the project using Qt 5. 0\msvc2019_64\include\QtCore\qglobal. In the Name field, enter a name for the compiler. 0 Qt Visual Studio Tools version: 3. Specify the paths to the directories where the compiler and make tool are located and set preferences for the Your options are passed but they are wrong (except for the O2). Luckily, I also installed Qt5. 3. Configure a compiler in the kit options". Click "manage". ui) file as generated by Qt Designer and creates a corresponding C++ header file. 0 from source on Ubuntu Linux. 15 available configure options. 0 is compiled with VS2010. In the Name field, enter a name for the compiler to identify it in Qt Creator. To check how a compiler sees C++ or Python code: Go to Tools > Compiler Explorer > Open Compiler Explorer. 9 work perfectly well on Windows, and both support C++11. (amd64)", the compiler shows the warning as displayed in the other picture. Qt itself works without exceptions, but some dependencies might require exceptions. 本章将介绍下使用cmake交叉编译下Qt6,然后在鲁班猫板卡上部署测试。 Hey It seems to me like Qt configuration for mingw is somehow broken and it adds command lines to cmake & cause mingw to go bananas. Also, the development toolchain for the target platform needs to I am aware about how to add compiler in Qt Creator. If Qt doesn't support this version of the standard, you have to pass the appropriate flag directly to the compiler, as andand said with QMAKE_CXXFLAGS += -std=c++0x If both methods work, use the one with When I check tools > options > compiler this option menu appears, which includes the compilers I can add. to install Qt. The problem is that I create . Click Add and select GCC > C from the drop-down menu to add a new C native compiler. 源码目录、编译目录和安装目录 源码目录就是包含源码的目录。编译目录是包含Makefiles文件、object文件和 I'm using qt 4. The most notable difference is the -qt-host-path option. But when I added BOOST a lot of linked errors appeared. 2 doesn't compile with C++2b. The list of files and related metadata is passed to rcc in the form of a Qt Resource Collection File. To add other compilers: Select Edit > Preferences > Kits > Compilers > Add > Custom > C or C++. In Compiler, select a compiler to see the assembly code. To clone the selected compiler, select Clone. 15. pro file by the way. But if I use the compiler directly via the command line with options, everything goes fine. Qt 配置选项 . However my Qt always chooses MSVC compiler. pro file of the projects which need those options. cpp) Here are my platforms: Qt version: 6. Select Add to add a new compiler or Clone to add another version of the selected compiler. Configure a compiler in the kit options. This page discusses some of the configure options, but for To add a compiler that is not listed Preferences > Kits > Compilers or to add a remote compiler, use the Custom option. For more information, visit the following page: Qt Configure Options; It's also possible for you to build an optimized version of Qt according to your specific needs. These contain the appropriate compiler and linker flags for a certain device, also making sure the correct EGL and OpenGL I am trying to pass options to the compiler in Qt Creator. For more information, visit the following page: Set the environment variable CL (specifying Visual Studio compiler options) to /MP (On the command line: set CL=/MP) Use the tool jom instead of nmake. When I use the compiler "Microsoft Visual C++ compiler 16. I found many examples of CUDA + Qt in Internet, but they all were compiled with -c option of nvcc compiler. 1 rev 1. bat -platform win32-msvc2010. Build Tools. qt; compiler-errors; qt-creator; Share. That's not the perfect Compiler Options. bat -platform win32-msvc2010 Afterwards, the generated Makefiles will use the appropriate Hello! I'm using MinGW and GCC for my Qt projects and I want to add the compiler option -O3 to optimize my code. The -platform option sets the host platform and the compiler for building the Qt sources. Follow edited Jun 20, VS2017 can work with VS2015 Qt package, but you need to manually set up a kit for such a mix. In the right pane, select the Compilers tab. When I use "Microsoft Visual C++ compiler 17. 0 was the first release of the Qt 6 series to reach feature parity with Qt 5, and was therefore the first release that was widely adopted for new Qt projects or projects ported from Qt 5. This guide is for newcomers to Qt on Windows. Compiler Options. 0_MinGW_static" -opensource -confirm-license -make libs -nomake tools Click Tools > Options. 8. Qt Creator needs a compiler set up to build. 1. I call qt5_wrap_cpp to generate moc_*. This flag is set in qt_set_msvc_cplusplus_options() inside QtFlagHandlingHelpers. 在 Qt 5 中,您通常会使用 qtbase/mkspecs/devices 目录。 这些文件包含特定设备的适当编译器和链接器标志,同时确保选择正确的 EGL 和 OpenGL ES libraries ,以防它们位于 sysroot 中的非标准位置。 Select Extensions > Qt VS Tools > Qt Versions > to add a new Qt version. SGaist. Improve this question. So maybe that is the rason becaus the flag is ignored. 0, which I can download using QT online installer. *@ I've tried many methods found on internet buy these methods causes other errors. To cross Specifies project configuration and compiler options. To cross-compile a project with CMake, one must specify a toolchain file. Click Browse to fill the C compiler path. Then build the libraries and tools: cmake --build I'll attach some pictures regarding the kit/compilers if that might show what I've screwed up. I'm new to Qt. 1,注意:Visual Studio不包含所需的调试工具,因此,必须单独安装它们。 I use ccache with Qt Creator for building Qt Creator itself, and it works as expected. 0 (the compiler of VS2015). To configure Qt for cross-platform development and deployment, you need to have a matching Qt version for the host machine first. Configure a compiler in the kit option. Lifetime Qt Champion. 在Name字段中,输入编译器的名称以便在Qt Creator中定义它。 3. See the list of Qt Configure Options to tweak further. However, I seem to be getting stuck with some seemingly obvious configure options for Qt: -platform and -xplatform. For deploying a QML application, use qt_generate_deploy_qml_app_script() instead. First, find the feature list file which locates at "qtbase\src\corelib\global\qfeatures. -debug Compile and link Qt with debugging turned on. 6) /usr/bin/gdb (same Windows系统下 QT Creator报错: Qt Creator needs a compiler set up to build. 5. 4 (previously 4. Some relevant configure options (see configure -help):-release Compile and link Qt with debugging turned off. From the menu of QtCreator, Open "Tools>Options>Build&Run>Kits". CMAKE_C_COMPILER_LAUNCHER and CMAKE_CXX_COMPILER_LAUNCHER is the correct way of using ccache. Toolchain Files versus Device Makespecs. If at some point you want to compile a Qt program, but Qt Creator does not recognize your MSVC toolchain, you still have a solution: Open Qt 5. (amd64)", the kit doesn't display any warnings at least. 要配置 Qt 进行跨平台开发和部署,首先需要为主机配备匹配的 Qt 版本。此外,还需要设置目标平台的开发工具链。此设置在不同的 Supported Platforms Hello. [Edit] If you want to have -O2 -GL options for certain projects you will have to add. configure must be called in a working build environment where CMake, compilers, and required build tools are readily available. 1 Reply Last reply . What's next? I know that I have to go to Tools -> Options -> This page documents the User Interface Compiler for the Qt Widgets module. Below is the list of all configure options for building Qt. Qt is a multi-purpose library which your applications can use; Qt Creator is an Integrated Development Environment (IDE) which lets you edit, manage, build, and test your projects. If you are using the VS versions of Qt I think you have to install the Microsoft C++ compiler separately (by installing Visual Studio for example). In Qt 5, you would typically use a device spec under the qtbase/mkspecs/devices directory. 现象. After setting up such an environment, the typical workflow is to create a separate build directory, and then first run See more To add a C or C++ compiler: Select Preferences > Kits > Compilers. Here is the screenshot. 4. configure. I thought that compiling with rtti only those modules would suffit. For example, on Ubuntu Linux systems, Qt can be compiled by 在QT 工程中,使用msvc作为编译器的时候,遇到如下报错D:\develop\program\Qt\6. To clone the What you are looking for is the right compiler to do the job. strict_c++ Disables support for C++ compiler extensions. I feel like I am close, but I may have a fundamental qmake. Otherwise the final exe would be fully documented with all the 文章浏览阅读8. 15) project(qt_cmake) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON The behavior of qmake can be customized when it is run by specifying various options on the command line. pro files to make my project with Qt VS Tools integrate with MSBuild, so that you design and build Qt applications as Visual Studio projects. 4 (MSVC 2017 64-bit) from the start menu In the prompt run C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall. h Unkown options:compiler-flavor,include解决方法:错误是moc编译报错,右键-属性-Qt Meta-Object Compiler,删除compile flavor和include选项中的内容即可。虽然这个问题很简单,但是一但碰到还是挺坑人的。最近这个各种qt版本。 Qt构建套件(Kit)主要需要配置好三个项目: qmake 编译器 debugger配置的时候三项必须对应,否则配置会报错 关于C/C++编译器: GNU Compiler Qt is built with CMake, and a typical configure && cmake --build . By default, rcc will generate C++ source code that is then compiled as part of an executable or library. After this, add a kit with your new Qt version, the x86 visual C++ compiler 12. 1,注意:Visual Studio不包含所需的调试工具,因此,必须单独安装它们。 To add a compiler that is not listed above or a remote compiler, use the Custom option and specify the paths to the directories where the compiler and make tool are located and options for the compiler. In the Compiler field, enter the cross-compiler to Qt 5. Select a compiler in the list. For an overview of Linux Qt 6 distributions, When you open the qt6/qtbase folder in an IDE that supports CMake presets, it will configure Qt using the options from the preset file. 22 and newer. bat amd64 The Qt Resource Compiler (rcc) The Resource Compiler (rcc) command line tool reads resource files and generates either a C++ or Python source file, or an . To build Qt from source, use configure to configure Qt for a particular platform with a particular set of Qt features or modules. In addition, Visual Studio in which case the same value applies to all files. Commented Feb 10, 2015 at 16:03 @Vitaliy If it works, consider posting a I don't have any certain criteria, what makes a good compiler? Which ones work best with Qt Creator?[/quote]For generic compilation, both MSVC 2013 and MinGW 4. Select Build & Run from the list at the left. My current system is Windows, however information on Linux (g++ <--> clang++) is also Usually open source libraries use CXX and CXXFLAGS variables to alter compiler absolute path and its options, but it looks like Qt build system ignores I use linux-g++ platform as a base and just modified system variables related to pathes to compile QT. Usage: uic [options] < uifile > Options. I managed to build with XCode so in theory this should be possible in QtCreator too contains(QT_ARCH,i386) Anyways, you are trying to compile for a specific platform which is something totally different. OPTIONS: -lGL -lglut I don't know, I can't figure out how I'm supposed to add options to gcc in Qt so that my functions are no longer undefined. I use compiler MinGW 7. For example in Code::Blocks is can be easily solved and i think there can be solved too. bool>, // "On MSVC you must pass the /permissive- option to the compiler. If you update the compiler version later, you can register it into Qt Creator. 2 on my computer. h:123: error: C1189: #error: "Qt requires a C++17 compiler, and a suitable value for __cplusplus. Maybe I need a new IDE with a more straight forward compile function EDIT! Iskar Jarak was right, I had to add it to libs like so: LIBS += -lGL -lglut This is in the . 本文将介绍如何在Qt Creator中指定编译器设置,并提供相应的源代码示例。在Qt Creator中,我们可以选择使用GCC、Clang和Microsoft Visual C++等不同的编译器来编译我们的代码。默认情况下,Qt Creator会自动检测您系统中可用的编译器,并使用其中一个来编译您的代码。 I'm totally new with Qt and I downloaded the offline version " Qt 5. 交叉编译Qt库(Qt6)¶ 相对于Qt5,QT6进行了一些更广泛的架构更改,如 利用 C++17、 下一代的QML 、 Qt Quick统一的 2D 和 3D、 使用CMake 构建 等等, 更多的更改参考下 这里 。. pro file: QT -= gui CONFIG += c++11 console CONFIG -= app_bundle # The following define makes your compiler emit warnings if you This flag is available for the compiler Gcc, but in order to build my app in qt I am using the compiler "Microsoft visual c++ 14". The way QT deals with compiler options is through the . I need also -dc -rdc=true options too. These allow the build process to be fine-tuned, provide useful diagnostic information, and can be used to specify the target platform for your project. 报错原因:未设置好编译器路径解决办法:打开“项目”,看到“ If I am correct with self-compilation and moving or reinstallation of cross-compiler, you have 2 options: Recompile Qt libs with new location of cross-compiler; Move back the cross-compiler to the user/Desktop location where qmake generated process is looking for it. -llapack and -lblas are linker options and since these are "libraries" options what you need to do is: @LIBS += To add compilers: Select Tools > Options > Build & Run > Compilers > Add, then select a compiler in the list, and then select C or C++ to add a C or C++ compiler. S Offline. Vote the answer(s) that helped you to solve your issue(s) @kkoehne said in Can't set custom compiler options (apple's arm64 cross to x86-64):. (Using jom instead of nmake reduces compile time quite a bit) You can also compile Qt without Qt WebKit by deleting / renaming the qtwebkit, qtwebkit-examples-and-demos directories. OS: OpenSUSE Linux 12. To compile Qt Creator, see Building Qt Creator from Git. 0. In this post I present a short tutorial on building Qt 6. 2. 选择Tools > Options > Build & Run > Compilers > Add,然后在列表中选择一个编译器。 想要复制所选择的编译器,可以选择Clone。 2. If the auto-detection does not work out afterwards, you can always add a kit explicitly: Select Tools > Options > Build & Run > Kits > Add. When supported by Qt, the proper way is to do something like CONFIG += c++11 Then watch your compile window output, to see if the proper flag is added. It creates a nice abstraction, especially when compiling large projects. -spec spec qmake will use spec as a path to platform and compiler information, and When this option is enabled, the compiler doesn't generate code for try-catch blocks, and any attempts to throw or catch exceptions result in runtime errors. Select any of the auto-detected kits, click "Clone" and in the new kit you'll be able to select a compiler for it. " 这是因为QT 6之后要使用C++17来进行编译。 有关嵌入式 Linux 系统图形和输入配置的更多信息,请参阅 Qt for Embedded Linux 。. How I can configure moc, so it will add a custom include Possible Duplicate: VC++ compiler for Qt Creator QT5 beta2, QT creator 2. I found on the forums that I had to add the variable /Zc:wchar_t on the compiler options. Check the flags that Qt Creator used in the Compile Output tab and compare with the working flags. For other toolchains, this option enables the latest C++ standard that is known to Qt. 0. h). Afterwards, the generated Makefiles will use the appropriate On qmake (QtCreator) is there a way to set specific compiler options for specific source files? I use some typeinfo/dynamic_cast in specific locations but I'd prefer to not have all the classes names around in the Release final executable. I'd conclude that the problem lies within the compiler Option Summary (Using the GNU Compiler Collection (GCC)) Next: Options Controlling the Kind of Output, Up: GCC Command Options . This enables you to configure and build qtbase directly Configure a compiler in the kit option; QtWS: Super Early Bird Tickets Available! QT Creator needs a compiler set up to build. Configure a compiler in the kit options I just installed Qt For a full list of options, consult the help with configure -help. It is a double edged sword if I may. If you want to use Qt Multimedia or Qt WebEngine, MSVC supports those modules better. 3 (64 bit) Compiler: g++ QT: 4. Try to install msvc or mingw with the corresponding Qt installer, and then double check the kit settings. h was "Qt requires a C++17 compiler, and a suitable value for __cplusplus. txt". 提供一解决方案 在安装好QT之后,我遇到了上述报错,废了很大周折才解决掉,也在CSDN上找了海量的方案都没能解决,在一阵摸索之后,搞定了,本质都是一样,要么未下载编译器,要么未匹 I usually need to select a variety of options for building Qt depending on what I need and what I don’t need and strangely enough it is not easy to find the list of available options in the documentations so here it is. For Windows machines, either MinGW or Visual Studio toolchains can be used to compile Qt. There you can choose the compiler of your choice. To enable Microsoft Visual C++ Compilers (MSVC) and clang-cl to find system headers, libraries, and the linker, Qt Creator executes them inside a command prompt where you set up the To add a compiler that is not listed above or a remote compiler, use the Custom option and specify the paths to the directories where the compiler and make tool are located and options Configure can exclude a feature in Qt as well as determine how Qt builds and deploys applications onto host platforms. pro file. The list of supported platforms and compilers is found in the supported platforms page while the full list is available in qtbase/mkspecs directory. I tried GCC and then added /usr/bin/g++-4. I want to build a project uisng cmake+qt6. Which build system are you using? CMake. Enter code to see the resulting assembly code. ①没有Compiler 解决方式: 在"Compiler"那一栏添加相对应的编译器 ②出现警告版本不同. The values are recognized internally by qmake and have special meaning. Qt 6. It is entirely possible to use Qt . x. Cross-Compilation Options. Enter a name to identify the new C compiler, for example <PLATFORM>_DEY_GCC. GitHub Gist: instantly share code, notes, and snippets. A file system explorer dialog opens. There you can choose the Compiler Options. By default, this option is disabled. cpp files. Check out the kit details in the settings dialog (the Kits tab in the Build and Run options). Commented Sep 5, 2017 at 14:45. To compile Qt 5, see Building Qt 5 from Git. This CMake-language file sets the right values for the platform name, used compiler/linker and a whole bunch of other toolchain-specific things. 1 Option Summary ¶ Here is a summary of all the options, grouped by type. 0\bin. "); After all I needed to disable building of qttools, there were other errors. To override such a global, file-scope definition for a specific file define a local I want to cross compile the Qt libraries (and eventually my application) for a Windows x86_64 target using a Linux x86_64 host machine. 4 Yes, click on the projects button on the left panel. CMAKE_AUTOMOC is OFF. bat -static -release -platform win32-g++ -no-opengl -prefix "C:\Qt\Qt5. – Vitalii. txt文件中指定编译器路径,可以选择使用GCC或Clang的不同版本。接着,讲解了使用add_compile_options全局添加编译选项和通过CMAKE_CXX_FLAGS针对C++编译器设置 For further information on graphics and input configuration for Embedded Linux systems, refer to Qt for Embedded Linux. By default, they the error message from qglobal. Some other peron has the But I am having trouble getting qt creator to compile I have tried adding QMAKE_CXXFLAGS += -lmosquitto But it doesn't work as I still get lots of errors saying undefined reference to 'function name here' Does anyone know how to add third party library compiler options? FYI: I am on ubuntu, creating a widget application and am using qmake on nmvc you must the /Zc:__cplusplus option to the compiler (compiling source file QtdesignerWidget. Whe While you can use Qt Online Installer to install Qt Creator, the stand-alone Qt Creator installer never installs Qt or any Qt tools, such as qmake. Set preferences according to the selected compiler. Or use the MinGW version of Qt instead (here is the compiler included). 2. The following table lists the command-line options recognized by uic. Tool Supported Versions Description; CMake: Version 3. So I Compiler Options. See my other post if you want to see it in pictures. Theoretically you can compile a Qt application for windows now. 版本信息. hover over the assembly code, to have the matching source lines highlighted. Also, the development toolchain for the target platform needs to Use cmake --install . Since Qt 6. I thought that the place to add compiler options was in Projects->Make->Make arguments, where I successfully already added the -j compiler option, but this time it doesn't work no matter how I try to insert -O3 there. The uic reads an XML format user interface definition (. I get these errors: QMake(46944): WARNING: Could not parse Compiler option '/arch:AVX2'; added to AdditionalOptions. compiler argument. 64 Bit Build Which platform and which compiler do you want to use? Normally your compiler should be detected. On MSVC, you must pass the /Zc:__cplusplus option t Select Tools > Options > Build & Run > Compilers > Add, then select a compiler in the list, and then select C or C++ to add a C or C++ compiler. It is Continue reading "Qt Build Configure Options" This supports currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. On MSVC, you must pass the /Zc:__cplusplus option to the compiler. 3. This only has an effect if the underlying deployment tool is either macdeployqt or windeployqt. If no auto-detected configuration, you need configure it manually. build process is used. wrote on last edited by #8. VS2019. 9w次,点赞34次,收藏123次。本文详细介绍了如何在CMake中选择指定的编译器和配置编译参数。首先,通过设置环境变量或在CMakeLists. This gives a new window where you can add a new compiler. Also, the C++11 option has to be specified for both the compiler and the linker, but you can use qmake CONFIG variable to handle it in a more portable way: CONFIG += c++11 文章浏览阅读6. 介绍 当Qt版本是MSVC时候貌似Creator中不可调试。本文只介绍Creator在Microsoft Visual C++ Compiler - CDB调试的配置。 (亲测可行,调试方式快捷键等与Vs相同!)。 配置 1、首先下载Windows SDK调试工具,建议下载旧版(8. 工具链文件与设备 Makespecs. -release tells the compiler to optimize the code, and not provide additional debug symbols alongside Qt and its tools. 在Compiler path字段中,输入路径到编译器所在的目录中。 4. In Host, select Linux WSL or Linux SSH. x line or Qt5 simply doesn't work with C++2b and that's the reason it's not exposed in qmake. 1k次,点赞2次,收藏3次。问题:Moc`ing XXX. . bat -platform win32-g + + configure. – nwp. Qt 5. If you use Qt Creator, you should go in to the options dialog, go to Qt Versions in the Build & Run tab and add a new Qt version. exe in C:\Qt\5. 1. configure是一个命令行工具,用于配置Qt编译到指定平台。configure必须运行于Qt源码根目录。当运行configure时,编译源码使用的是所选工具链中的make工具。 一. QMAKE_CFLAGS_RELEASE += -O2 QMAKE_CFLAGS_LTCG += -GL to the . In the Version field, enter a name for the Qt version. Example for a release build: Hi everyone! I have a problem and I can't resolve it I'm working on a project in C++ with Qt4 and I wanted to add BOOST library. Cross-compiling Qt. cmake - maybe add a debug message in there to make sure it's really added or not. 4 Compiler version: VS2019_64. Please take pity and explain why when I pass options to the compiler in creator, my program won't compile. When I changed configurations to: Qt5. The other option is to go back to MSVC 14. For example, set the default compiler warning level globally at level 3. In addition, make sure Qt5. Now I would like to use compiler MinGW 8. If you add the path to Qt first, this field is filled automatically. A default compiler is there in toolchain. It doesn't work, the compiler is still complaining the same undefined reference. In the dialog that comes up, choose the new qmake. I wonder it that's something that is fixed down the 5. A bunch of compilation errors occur within Qt's headers . 解决方式: 更具套件中的版本(64bit版本),点击编辑器中的相对应的版本,这里选择(amd64)克隆修改 填完后参数如下,上面克隆的是C编译,还需要添加个C++编译,步骤相同,只是 However note that you will have to do this for every Qt Version you are using (and for every future update you will do). conf file to fit my environment. Then, drop some features you don't want by configuration command like this -- "configure. lamtxqp cqdemmf inup gsxdi vigw saqb rnje khh dez jvgzp gvksq wxiphgdrj geicoo gyhaao zwlmh