QT C++命名空间(.h/.cpp)

本文介绍了项目的文件结构,包括test.h头文件、test.cpp源文件及main.cpp主文件等内容,阐述了这些文件在项目中的作用和相互之间的关系。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

项目结构:
在这里插入图片描述
test.h文件:
在这里插入图片描述

test.cpp文件:
在这里插入图片描述
main.cpp文件:
在这里插入图片描述
运行结构:
在这里插入图片描述

SmartEQ_Android_SO /Users/qingguo/Desktop/nounou/lib/iOSlib/fiemwork/SmartEQ_Android_SO/SmartEQ_Android_SO/smarteq_android_so.h /Users/qingguo/Desktop/nounou/lib/iOSlib/fiemwork/SmartEQ_Android_SO/SmartEQ_Android_SO/smarteq_android_so.h:9:10 'vector' file not found /Users/qingguo/Desktop/nounou/lib/iOSlib/fiemwork/SmartEQ_Android_SO/SmartEQ_Android_SO/smarteq_android_so.h:20:10 'QtCore/qglobal.h' file not found /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c++_arm64-apple-ios18.2_gnu++20/Test/Test.framework/Headers/Test.h /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c++_arm64-apple-ios18.2_gnu++20/Test/Test.framework/Headers/Test.h:1:9 (fatal) could not build module 'SmartEQ_Android_SO' /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c_arm64-apple-ios18.2_gnu17/Test/Test.framework/Headers/Test.h /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c_arm64-apple-ios18.2_gnu17/Test/Test.framework/Headers/Test.h:1:9 (fatal) could not build module 'SmartEQ_Android_SO' /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c_arm64-apple-ios18.2_gnu17/Test/Test.m /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c_arm64-apple-ios18.2_gnu17/Test/Test.m:1:9 (fatal) could not build module 'Test' /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c++_arm64-apple-ios18.2_gnu++20/Test/Test.mm /Users/qingguo/Library/Developer/Xcode/DerivedData/SmartEQ_Android_SO-aidlvwfzcntypmdixnaalvklpymc/Build/Intermediates.noindex/SmartEQ_Android_SO.build/Debug-iphoneos/SmartEQ_Android_SO.build/VerifyModule/SmartEQ_Android_SO_objective-c++_arm64-apple-ios18.2_gnu++20/Test/Test.mm:1:9 (fatal) could not build module 'Test' 在编库的时候出现问题
最新发布
04-04
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值