Skip to content

Qt Linking Error? #5397

Closed Answered by wang-mengdi
wang-mengdi asked this question in Q&A
Jul 26, 2024 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

改好了!感谢大佬

add_rules("mode.debug", "mode.release", "mode.releasedbg")
set_languages("c++17")
set_runtimes("MT")


add_requires("eigen >=3.4.0")
add_requires("fmt >=8.1.1")
add_requires("boost =1.78.0")
add_requires("nlohmann_json =3.10.5")
add_requires("polyscope")
add_requires("tbb")
add_requires("qt5base =5.15.2")
add_requires("qt5core")
add_requires("qt5gui")
add_requires("qt5network")
add_requires("qt5webview")
add_requires("qt5widgets")
add_requires("glu")

target("StitchMeshQt")
    add_rules("qt.console")
    add_rules("qt.widgetapp")
    add_frameworks("QtCore", "QtGui", "QtOpenGL", "QtWidgets")
    add_defines("Q_OBJECT", "Q_GADGET", "Q_NAMESPACE", "Q_NAMESPACE_EXPORT")
    set_kind("

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@wang-mengdi
Comment options

@Elite-stay
Comment options

@Elite-stay
Comment options

@wang-mengdi
Comment options

Answer selected by wang-mengdi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants