我使用windows7、Qt4.8.1、qtcreator2.4.1写一个程序,写了好多天了,昨天还好好的,今天打开工程
文件时,qtcreator软件出现未响应,就卡在那了不动了。工程配置的是影子构建,把构建
目录删了,再 打开也不行;把配置文件删了,打开时会提示配置工程,但点击完成后又卡死在哪了。。已经等过一个多小时了,还没反应,怎么办?在期间我拷贝了工程放到linux系统里使用qtcreator打开,可以正常
编译运行,
没有问题。
下面是我的项目文件内容,请帮忙看下怎么解决,谢谢!
- QT += core gui
- #QT += sql
- QT += xml
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
- TARGET = powertester
- TEMPLATE = app
- SOURCES += main.cpp\
- mainwindow.cpp \
- plot/qcustomplot.cpp \
- myinputpanelcontext.cpp \
- myinputpanel.cpp \
- login/logindialog.cpp \
- qextserial/qextserialport.cpp \
- temp.cpp \
- myxmlfilerw.cpp
- #
- win32 {
- SOURCES += qextserial/qextserialport_win.cpp
- }
- unix {
- SOURCES += qextserial/qextserialport_unix.cpp
- }
- HEADERS += mainwindow.h \
- plot/qcustomplot.h \
- myinputpanelcontext.h \
- myinputpanel.h \
- login/logindialog.h \
- qextserial/qextserialport.h \
- qextserial/qextserialport_global.h \
- serial/cycle_buffer.h \
- serialcommand.h \
- myxmlfilerw.h
- win32{
- HEADERS += qextserial/qextserialenumerator.h
- }
- FORMS += mainwindow.ui \
- tempform.ui \
- myinputpanelform.ui
- RESOURCES += \
- mobilepowertester_release_v1.qrc
- RC_FILE = myico.rc
- # install inputpanel
- target.path = $$[QT_INSTALL_EXAMPLES]/tools/inputpanel
- sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS inputpanel.pro
- sources.path = $$[QT_INSTALL_EXAMPLES]/tools/inputpanel
- INSTALLS += target sources
- symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
- maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
- symbian: warning(This example might not fully work on Symbian platform)
- maemo5: warning(This example might not fully work on Maemo platform)
- simulator: warning(This example might not fully work on Simulator platform)
- win32:DEFINES += _TTY_WIN_
- win32:LIBS += -lsetupapi