- Learn Qt 5
- Nicholas Sherriff (Nick)
- 112字
- 2021-06-30 18:42:32
cm-tests
Create new source/models subfolders and move client-tests.cpp there. Switch back to Qt Creator and edit cm-tests.pro:
QT += testlib QT -= gui
TARGET = client-tests
TEMPLATE = app
CONFIG += c++14
CONFIG += console
CONFIG -= app_bundle
INCLUDEPATH += source
SOURCES += source/models/client-tests.cpp
This follows pretty much the same approach as with cm-lib, with the exception that we want a console app rather than a library. We don’t need the GUI module, but we will add the testlib module to get access to the Qt Test features.
There really isn’t much to this subproject just yet, but you should be able to run qmake and rebuild successfully.
推薦閱讀
- Learning Cocos2d-x Game Development
- Istio入門與實(shí)戰(zhàn)
- FPGA從入門到精通(實(shí)戰(zhàn)篇)
- Python GUI Programming:A Complete Reference Guide
- 深入淺出SSD:固態(tài)存儲(chǔ)核心技術(shù)、原理與實(shí)戰(zhàn)
- 3ds Max Speed Modeling for 3D Artists
- 電腦軟硬件維修從入門到精通
- R Deep Learning Essentials
- Creating Flat Design Websites
- 深入理解序列化與反序列化
- 龍芯自主可信計(jì)算及應(yīng)用
- Blender Quick Start Guide
- Istio服務(wù)網(wǎng)格技術(shù)解析與實(shí)踐
- WebGL Hotshot
- 新編電腦組裝與硬件維修從入門到精通