回复: qt界面程序中,无法添加自定义类
#6 回 tylan 的帖子 [zstrel 09-28 01:37]
tylan:你的pro文件中,展示一下。 (2015-09-26 08:58)
#-------------------------------------------------
#
# Project created by QtCreator 2015-09-27T22:59:50
#
#-------------------------------------------------
QT += core gui
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = tmp1
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
aclass.cpp
HEADERS+= mainwindow.h \
aclass.h
FORMS+= mainwindow.ui
#7 [fsu0413 09-28 17:53]
删掉中文注释