<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                [TOC] ### 編譯libShadowQT ***** ### For MacOS: (1) Qt5 ``` $ brew install qt5 $ echo 'export PATH="/usr/local/opt/qt/bin:$PATH"' >> ~/.bash_profile ``` (2) botan ``` brew install botan brew link botan ``` (3) libQtShadowsocks ``` mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local make all make install ``` 如果編譯不通過 錯誤: ``` ?when I try to build, i fond this error. who can help me? help. C:/msys64/home/Administrator/libQtShadowsocks-2.0.0/lib/cipher.cpp:212:42: required from here C:/msys64/mingw64/include/c++/9.2.0/bits/unique\_ptr.h:79:16: error: invalid application of 'sizeof' to incomplete type 'Botan::Keyed\_Filter' 79 | static\_assert(sizeof(\_Tp)>0, | ^~~~~~~~~~~ \[ 31%\] Building CXX object lib/CMakeFiles/QtShadowsocks.dir/rc4.cpp.obj make\[2\]: \*\*\* \[lib/CMakeFiles/QtShadowsocks.dir/build.make:115:lib/CMakeFiles/QtShadowsocks.dir/cipher.cpp.obj\] 錯誤 1 make\[2\]: \*\*\* 正在等待未完成的任務.... make\[1\]: \*\*\* \[CMakeFiles/Makefile2:101:lib/CMakeFiles/QtShadowsocks.dir/all\] 錯誤 2 make: \*\*\* \[Makefile:130:all\] 錯誤 2 ``` 解決辦法:Update cipher.cpp [#218](https://github.com/shadowsocks/libQtShadowsocks/pull/218) ``` #include <botan/filters.h> ``` (4) shadowsocks-qt5 ``` mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local make make install ``` ### 在qt中使用cmakelist無法導入 ***** 錯誤: ``` Could not find a package configuration file provided by "Qt5Gui" with any of the following names ``` 解決辦法: ``` For downstream users:`brew install <package-using-qt5>`works with CMake because something sets`CMAKE_PREFIX_PATH`. To make CMake recognize Qt5 outside`brew`, add this to CMakeLists.txt before any`find_package(Qt5...)`call: ``` 在CMakelist.txt中添加以下內容: ``` if(APPLE AND EXISTS /usr/local/opt/qt5) # Homebrew installs Qt5 (up to at least 5.9.1) in # /usr/local/qt5, ensure it can be found by CMake since # it is not in the default /usr/local prefix. list(APPEND CMAKE_PREFIX_PATH "/usr/local/opt/qt5") endif() ``` brew update brew install libqrencode zbar mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local make make install ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看