You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything seems to build and install smoothly, I run into a problem when I try to test QT in my main file. No matter what I try, the includes will never be found by intellisense it seems.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment: CMake C++, I am using Ninja and VS2022. Project is using VCPKG with ports:
CMake generates correctly, and there are no errors when installing with vcpkg. I am using Ninja and VS2022.
Here are the relevant snippets from my
cmakelist.txt
file:find_package(Qt6 REQUIRED COMPONENTS Widgets) find_package(Qt6 REQUIRED COMPONENTS Core) QT_STANDARD_PROJECT_SETUP() target_link_libraries(${PROJECT_NAME} PRIVATE passlib Qt6::Widgets Qt6::Core fmt::fmt Iconv::Iconv unofficial::libharu::hpdf $<IF:$<TARGET_EXISTS:mongo::bsoncxx_static>, mongo::bsoncxx_static, mongo::bsoncxx_shared> $<IF:$<TARGET_EXISTS:mongo::mongocxx_static>, mongo::mongocxx_static, mongo::mongocxx_shared> )
Everything seems to build and install smoothly, I run into a problem when I try to test QT in my main file. No matter what I try, the includes will never be found by intellisense it seems.

Beta Was this translation helpful? Give feedback.
All reactions