gpt4 book ai didi

c++ - 我可以在 Visual C++ 2010 中导入 QT .pro 文件吗

转载 作者:行者123 更新时间:2023-11-28 00:13:30 24 4
gpt4 key购买 nike

我有一个这样的QT 4.5.1项目配置文件

DEFINES           += WIN32
OBJECTS_DIR = ../tmp
QMAKE_LFLAGS += -static-libgcc

LIBS += $(GDIR)/win-mingw/bin/libserverlib.a
LIBS += -lws2_32 -lpthread
INCLUDEPATH += ../../lib/src // need here to know how to write the relative path in mscv
LIBS += -L ../../folder1/folder2/lib/file_32.lib

如何将此配置转换为 MSVC 2010 配置。

最佳答案

您也可以在没有插件的情况下使用它。它生成 visual studio 解决方案文件和 vcxproj

http://doc.qt.io/qt-5/qmake-platform-notes.html#creating-visual-studio-project-files

关于c++ - 我可以在 Visual C++ 2010 中导入 QT .pro 文件吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31859385/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com