Vcpkg
Qt
Our great sponsors
Vcpkg | Qt | |
---|---|---|
144 | 26 | |
21,191 | 2,238 | |
2.1% | 2.5% | |
10.0 | 10.0 | |
7 days ago | 7 days ago | |
CMake | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vcpkg
-
Dependencies Belong in Version Control
vcpkg may expire assets after 1.5 years, so achieve long-term reproducibility you will need to cache your dependencies.... Somewhere. Not sure what the expected solution is.
https://github.com/microsoft/vcpkg/pull/30546#issuecomment-1...
-
My first Software Release using GitHub Release
There were various approaches recommended depending on our language and ecosystem. My classmates who developed using Node.js were recommended npm, and PyPI or poetry for Python. Since my program is written in C++, I was recommended to look into one of vcpkg or conan, but I ultimately did not use either package manager.
-
Anyone else frustrated with Conan2?
Which dependencies are not in vcpkg? We can ask them to add it. It’s pretty easy just open an issue there https://github.com/microsoft/vcpkg/issues .
-
hypergrep: A new "fastest grep" to search directories recursively for a regex pattern
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j25 Working Directory: /opt/vcpkg/buildtrees/hyperscan/x64-linux-dbg See logs for more information: /opt/vcpkg/buildtrees/hyperscan/install-x64-linux-dbg-out.log Call Stack (most recent call first): installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process) installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build) ports/hyperscan/portfile.cmake:22 (vcpkg_cmake_install) scripts/ports.cmake:147 (include) error: building hyperscan:x64-linux failed with: BUILD_FAILED Please ensure you're using the latest port files with `git pull` and `vcpkg update`. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+hyperscan You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[hyperscan]+Build+error&body=Copy+issue+body+from+%2Fopt%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md You can also sumbit an issue by running (GitHub cli must be installed): gh issue create -R microsoft/vcpkg --title "[hyperscan] Build failure" --body-file /opt/vcpkg/installed/vcpkg/issue_body.md
The hyperscan update to vcpkg seems to have happened from 5.4.0 to 5.4.2 in this commit on Apr 20.
-
Configuring incomplete due to CMake Error(missing OpenCVConfig.cmake ProtobufConfig.cmake and TIFF etc.)
Dear Fictrac team, I am hoping to install Fictrac in our windows 11 x64 laptop (Visual Studio 2019, cMake 3.26.4). I followed the installation guideline on github page fictrac and used the latest vcpkg
-
The Future of Boost by Vinnie Falco
unless you want to use clang-cl since it renames the output to make it work for MSVC which in return breaks FindBoost in cmake and requieres https://github.com/microsoft/vcpkg/pull/27694 to fix it. I have touched enough of vcpkg build scripts to know what works and what doesn't and the b2 build is one of the corners I strongly dislike.
-
CMake and Linking External libraries is a kick in the nuts if i've ever seen it.
And then there's also Qt which has plugins. vcpkg Qt5 is nice enough to copy the plugins for you, but not with Qt6. The official answer seems to be "use windeployqt". So I do, and it copies plugins fine. But sqlite doesn't work, despite the plugin sqldrivers/qsqlite.dll being in the right location. Turns out that neither vcpkg or windeployqt copy sqlite3.dll. I switched to static libraries after that, it's a lot slower to link, clang doesn't work for some reason (but clang-cl does) but at least I don't have to worry about DLLs.
- Build faster with Buck2: Our open source build system
- GitHub Actions Incident 29.3
Qt
-
Current Issues With The Qt Project - From The Outside Looking In
Qt mono repo : .. you could check out all submodules and simply use CMake to exactly achieve this. A mono repo also means that if I only use qtbase and declarative, I would need to have all submodules in there? - No
-
Why is building a UI in Rust so hard?
For e.g. if you’re writing a framework, you need to interface with Cocoa on MacOS to draw windows, which only provides an Objective C or Swift interface. You can look at the Qt source code and see how they do it: https://github.com/qt/qtbase/tree/067b53864112c084587fa9a507eb4bde3d50a6e1/src/plugins/platforms/cocoa
-
Fish (shell) porting to Rust from C++
That's because Qt 6 wholeheartedly converted to CMake for you. (At least it is better than qmake.) In order to support this Qt has this large battery of CMake files [1]. Qt is of course a clear outlier, but you can't expect the same level of support from every other library you want. My points about "anything exotic" still stand.
- A question about how GUI libraries are written.
- Ask HN: Why is there no performant remote desktop for Mac/Linux?
-
Post-mortem of a long-standing bug in video Game Path Of Exile, which was caused by a stale pointer
I don't see any connect in https://github.com/qt/qtbase/blob/dev/src/corelib/tools/qsharedpointer_impl.h, and QPointer isn't a QObject (though I don't know if the latter is actually necessary for signal-slots). One (unreliable) way to test is to see if a QPointer fails to be nulled out when the QObject is blocked by a QSignalBlocker. Alternatively I'd set a data breakpoint on a QPointer and try it out. But I don't have the time right now.
Interestingly Qt has QPointer which nulls itself out when the target T is deleted. It's convenient when I want weak references to GUI objects (though you have to be careful to check for its presence after every time you call code which could possibly delete it, I usually call it QPointer maybe_foo). However, from my brief look at the source (link), it's implemented in terms of qsharedpointer.h-> qsharedpointer_impl.h and QtSharedPointer (not sure how it works, but there's probably overhead going on). I wonder how it works, and compares to generational indexes or Vale's generational references (link).
-
Why is 5.15.2 the last version in git?
The tag is right there: https://github.com/qt/qtbase/tree/v5.15.4-lts-lgpl
-
[Weekly] What is everybody working on? Share your progress, discoveries, tips and tricks!
Today I'm looking in to how the MSVC Development builds work. Yesterday I downloaded a version labeled 20220527 and from what I can tell, after looking at the source (another 3gb of disk space gone for now) https://github.com/qt/qtbase/commit/5d8f815e101da3ae9cd6a666cc097853f52b21da is the current commit.
What are some alternatives?
conan - Conan - The open-source C and C++ package manager
Boost - Super-project for modularized Boost
JUCE - JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
vulkan - Haskell bindings for Vulkan
Ncurses - ncurses Git mirror
Boost.Program_options - Boost.org program_options module
meson - The Meson Build System
Folly - An open-source C++ library developed and used at Facebook.
stb - stb single-file public domain libraries for C/C++