Qt4-preview-feedback Archive, July 2007
Eclipse integration bug with import .pro file
Message 1 in thread
I can't import my project to eclipse (addressbook.pro is normal import),
i see only 2 files in project explorer - .cproject, .project. and in
console i see this:
mingw32-make
mingw32-make: *** No targets specified and no makefile found. Stop.
this my source:
######################################################################
# Automatically generated by qmake (2.01a) ?? 11. ??? 18:10:11 2007
######################################################################
TEMPLATE = app
TARGET = project
DEPENDPATH += . include src ui include\iconv include\libxml
INCLUDEPATH += .
# Input
HEADERS += include/delegate.h \
include/frSelectForm.h \
include/srvSelectForm.h \
include/tbvSpoListDelegate.h \
include/TForm.h \
include/ttDelegate.h \
include/iconv/iconv.h \
include/libxml/c14n.h \
include/libxml/catalog.h \
include/libxml/chvalid.h \
include/libxml/debugXML.h \
include/libxml/dict.h \
include/libxml/DOCBparser.h \
include/libxml/encoding.h \
include/libxml/entities.h \
include/libxml/globals.h \
include/libxml/hash.h \
include/libxml/HTMLparser.h \
include/libxml/HTMLtree.h \
include/libxml/list.h \
include/libxml/nanoftp.h \
include/libxml/nanohttp.h \
include/libxml/parser.h \
include/libxml/parserInternals.h \
include/libxml/pattern.h \
include/libxml/relaxng.h \
include/libxml/SAX.h \
include/libxml/SAX2.h \
include/libxml/schemasInternals.h \
include/libxml/schematron.h \
include/libxml/threads.h \
include/libxml/tree.h \
include/libxml/uri.h \
include/libxml/valid.h \
include/libxml/xinclude.h \
include/libxml/xlink.h \
include/libxml/xmlautomata.h \
include/libxml/xmlerror.h \
include/libxml/xmlexports.h \
include/libxml/xmlIO.h \
include/libxml/xmlmemory.h \
include/libxml/xmlmodule.h \
include/libxml/xmlreader.h \
include/libxml/xmlregexp.h \
include/libxml/xmlsave.h \
include/libxml/xmlschemas.h \
include/libxml/xmlschemastypes.h \
include/libxml/xmlstring.h \
include/libxml/xmlunicode.h \
include/libxml/xmlversion.h \
include/libxml/xmlwriter.h \
include/libxml/xpath.h \
include/libxml/xpathInternals.h \
include/libxml/xpointer.h
FORMS += ui/form.ui ui/frSelectForm.ui ui/srvSelectForm.ui
SOURCES += src/delegate.cpp \
src/frSelectForm.cpp \
src/main.cpp \
src/srvSelectForm.cpp \
src/tbvSpoListDelegate.cpp \
src/TForm.cpp \
src/ttDelegate.cpp
RESOURCES += ui/qt.qrc
OBJECTS_DIR = tmp
MOC_DIR = tmp
UI_HEADERS_DIR = tmp
win32:RC_FILE += ui/rs.rc
QT += sql
RCC_DIR += tmp
TARGET = SpoAssist2
INCLUDEPATH += include include/libxml include/iconv
LIBS += -Llib -llibxml2
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 2 in thread
Hello,
I suppose you are using the release candidate 1 of the Eclipse
integration?
> I can't import my project to eclipse (addressbook.pro is normal
> import),
Do you mean, that importing addressbook.pro works without problems?
> i see only 2 files in project explorer - .cproject, .project. and in
I copied your .pro file from the mail and created some dummy header and
source files, so I got the following directory structure:
test.pro
include\delegate.h
include\frSelectForm.h
include\srvSelectForm.h
[... some more in include]
ui\form.ui
ui\frSelectForm.ui
ui\srvSelectForm.ui
[... some more in ui]
src\delegate.cpp
src\frSelectForm.cpp
src\main.cpp
[... some more in src]
Then I chose 'File -> Import -> Qt Project' and selected the 'test.pro'.
Worked for me, see attached screenshot of the c/c++ projects explorer.
How is your directory layout? (And where do the 'include' etc
directories lie relative to the .pro file?)
Did you do something different than I?
> console i see this:
> mingw32-make
> mingw32-make: *** No targets specified and no makefile found. Stop.
>
Do you have a Qt version set (Window->Preferences->Qt)? Do you see
anything in the 'Problems' view (Window->Show View->Problems)? This
should be independent from the issue that you don't see your files in
the project explorer though.
Best regards, Eike

Message 3 in thread
> I suppose you are using the release candidate 1 of the Eclipse
> integration?
Yes i have release candidate 1
(http://www.trolltech.com/download?target=ftp://ftp.trolltech.com/qteclipse/qt-eclipse-integration-win32-1.0.0-rc1.exe)
> I copied your .pro file from the mail and created some dummy header and
> source files, so I got the following directory structure:
> Then I chose 'File -> Import -> Qt Project' and selected the 'test.pro'.
> Worked for me, see attached screenshot of the c/c++ projects explorer.
Ok, i found problem. I just copy my sources to workspace directory and
import project from they. I import from other directory and this normal
import. Thanks for help.
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 4 in thread
On Jul 12, 2007, at 1:04 PM, SABROG wrote:
> > I suppose you are using the release candidate 1 of the Eclipse
> > integration?
>
> Yes i have release candidate 1 (http://www.trolltech.com/download?
> target=ftp://ftp.trolltech.com/qteclipse/qt-eclipse-integration-
> win32-1.0.0-rc1.exe)
>
>> I copied your .pro file from the mail and created some dummy
>> header and
>> source files, so I got the following directory structure:
>> Then I chose 'File -> Import -> Qt Project' and selected the
>> 'test.pro'.
>> Worked for me, see attached screenshot of the c/c++ projects
>> explorer.
>
> Ok, i found problem. I just copy my sources to workspace directory
> and import project from they. I import from other directory and
> this normal import. Thanks for help.
>
Ok, I can reproduce that here, thanks for reporting!
Eike
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 5 in thread
But now i have other problem :)
"Error while parsing qrc_qt.cpp"


Message 6 in thread
> But now i have other problem :)
> "Error while parsing qrc_qt.cpp"
Ok, i found how this fix:
call "C:\Eclipse\eclipse.exe" -vmargs -Xmx1000M
This increase heap size for JVM to 1Gb.
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx