View Full Version : QT tutorial 7
i tried compiling the program in tute 7 of QT. i've placed all three files namely lcdrange.cpp, lcdrange.h & main.cpp in a directory D:\Ranu's works\t7. the problem i get is that when i run qmake -project & it creates .pro file..
D:\Ranu's works\t7>qmake -project
but when i run qmake after that i get an error as
D:\Ranu's works\t7>qmake
Error processing project file: D:/Ranu's works/t7/t7.pro
plz tell me wht to do.. & what i'm doing wrong.
thanks in advance.:)
I'm not sure what went wrong but pasting the .pro file could help us to solve the problem. Anyway, the example is shipped together with the installation package. See %QTDIR%\examples\tutorial\t7.
thanks JP
i saw the original .pro file for tute 7. & its very different from the one i get after compiling.
the original .pro file is:
TEMPLATE = app
CONFIG += qt warn_on
HEADERS = lcdrange.h
SOURCES = lcdrange.cpp \
main.cpp
TARGET = t7
QTDIR_build:REQUIRES="contains(QT_CONFIG, large-config)"
# install
target.path = $$[QT_INSTALL_EXAMPLES]/tutorial/t7
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS t7.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/tutorial/t7
INSTALLS += target sources
and the one i'm getting after running qmake -project is:
################################################## ####################
# Automatically generated by qmake (2.01a) Mon May 21 22:00:28 2007
################################################## ####################
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += lcdrange.h
SOURCES += lcdrange.cpp main.cpp
why this is happeing... please help.
The automatically generated .pro file looks fine to me. How did you install Qt?
hey.. i chkd the same program on other system & it ran well. there's some problem in the qt installation on my system. i'll reinstall that
thanks JP
:)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.