Yes and under Linux (and under Mac?) it's installed with development packages.
Yes and under Linux (and under Mac?) it's installed with development packages.
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
jlbrd, I really have to thank you for QIde. It really does help in developing, and it is not very intrusive to my code. I don't like the way it changes the .pro files, though. No big deal, I just edit those manually. But I have noticed that with decent size files, 300 lines or more, when I do a . or a -> ie. ui.pushbutton1 or myTextEdit->clear() the system takes a while to catch up. Is this going to be a "feature" to autocomplete the code?
fnmblot
fnmblot
--------------------------------------
Gee Ricky, I'm sorry your mom blew up.
Thanks to appreciate QIde. Code completion requires of an file is created on disk (ctags) and for each request, the file is opened and parsed to find the good context. But in future, that will be improved, especially of speed. If it's too slowest, it is possible to deactivate code completion in options dialog.
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
fnmblot (30th August 2006)
I got error message when trying to compile 0.17-a under win. Didn't tried earlier versions...Originally Posted by jlbrd
Address isn't good and when I was talking about a lot of time it included finding a working package...http://belnet.dl.sourceforge.net/sou...gs/ec56w32.zip
This file is about 350kb, and contains the source and binary for windows. according to my calculations, it should not take more then 2 minutes to download (I caculated 54 seconds).
Last edited by jacek; 2nd September 2006 at 11:03. Reason: fixed quote
Current Qt projects : QCodeEdit, RotiDeCode
But which error? Post the error message if not that will not be simple to correct.I got error message when trying to compile 0.17-a under win. Didn't tried earlier versions.
Launch your navigator, on Google page, enter "ctags" then click on "Search" button. You are lucky! It's the first result. But you are very lucky because there is a direct link to download!Address isn't good and when I was talking about a lot of time it included finding a working package.
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
Doesn't seem to be linked to ctag actually : rather looks like an include problem...mingw32-make[1]: Entering directory `C:/Projects/QIde-0.17-a/Ide'g++ -c -O2 -O2 -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.1.3/include/QtUiTools" -I"C:/Qt/4.1.3/include/QtCore" -I"C:/Qt/4.1.3/include/QtNetwork" -I"C:/Qt/4.1.3/include/QtGui" -I"C:/Qt/4.1.3/include/QtXml" -I"C:/Qt/4.1.3/include" -I"." -I"..\dockplugin" -I"..\lineedithistoplugin" -I"..\treeprojetplugin" -I"src" -I"src\ui" -I"C:/Qt/4.1.3/include/ActiveQt" -I"..\build\moc" -I"..\build\ui" -I"..\..\..\Qt\4.1.3\mkspecs\win32-g++" -o ..\build\o\win32\parse.o src\QIComplete\parse.cpp
In file included from src\QIComplete\parse.cpp:14:
src\QIComplete\/parse.h:15:31: ../InitCompletion.h: No such file or directory
In file included from src\QIComplete\parse.cpp:14:
src\QIComplete\/parse.h:81: error: `Tag' does not name a type
In file included from src\QIComplete\parse.cpp:15:
src\QIComplete\/tree.h:29: error: ISO C++ forbids declaration of `InitCompletion' with no type
src\QIComplete\/tree.h:29: error: expected `;' before '*' token
src\QIComplete\/tree.h:76: error: `Tag' was not declared in this scope
src\QIComplete\/tree.h:76: error: template argument 1 is invalid
src\QIComplete\/tree.h:76: error: ISO C++ forbids declaration of `findEntries' with no type
src\QIComplete\parse.cpp:510: error: `Tag' does not name a type
g++ -c -O2 -O2 -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.1.3/include/QtUiTools" -I"C:/Qt/4.1.3/include/QtCore" -I"C:/Qt/4.1.3/include/QtNetwork" -I"C:/Qt/4.1.3/include/QtGui" -I"C:/Qt/4.1.3/include/QtXml" -I"C:/Qt/4.1.3/include" -I"." -I"..\dockplugin" -I"..\lineedithistoplugin" -I"..\treeprojetplugin" -I"src" -I"src\ui" -I"C:/Qt/4.1.3/include/ActiveQt" -I"..\build\moc" -I"..\build\ui" -I"..\..\..\Qt\4.1.3\mkspecs\win32-g++" -o ..\build\o\win32\tree.o src\QIComplete\tree.cpp
In file included from src\QIComplete\tree.cpp:11:
src\QIComplete\/tree.h:15:31: ../InitCompletion.h: No such file or directory
In file included from src\QIComplete\/tree.h:16,
from src\QIComplete\tree.cpp:11:
src\QIComplete\/parse.h:81: error: `Tag' does not name a type
In file included from src\QIComplete\tree.cpp:11:
src\QIComplete\/tree.h:29: error: ISO C++ forbids declaration of `InitCompletion' with no type
src\QIComplete\/tree.h:29: error: expected `;' before '*' token
src\QIComplete\/tree.h:76: error: `Tag' was not declared in this scope
src\QIComplete\/tree.h:76: error: template argument 1 is invalid
src\QIComplete\/tree.h:76: error: ISO C++ forbids declaration of `findEntries' with no type
src\QIComplete\tree.cpp:15: error: expected constructor, destructor, or type conversion before '*' token
src\QIComplete\tree.cpp:15: error: expected `,' or `;' before '*' token
src\QIComplete\tree.cpp: In static member function `static Tree* Tree::buildInheritanceTree(const QString&)':
src\QIComplete\tree.cpp:36: error: `parent' undeclared (first use this function)
src\QIComplete\tree.cpp:36: error: (Each undeclared identifier is reported only once for each function it appears in.)
src\QIComplete\tree.cpp: In static member function `static Tree* Tree::buildIncludeTree(Tree*, const QString&, Tree*)':
src\QIComplete\tree.cpp:157: error: `parent' undeclared (first use this function)
src\QIComplete\tree.cpp: At global scope:
src\QIComplete\tree.cpp:283: error: `Tag' was not declared in this scope
src\QIComplete\tree.cpp:283: error: template argument 1 is invalid
src\QIComplete\tree.cpp:284: error: ISO C++ forbids declaration of `findEntries' with no type
src\QIComplete\tree.cpp: In static member function `static int Tree::findEntries(const Expression*, const Scope*)':
src\QIComplete\tree.cpp:285: error: `Tag' undeclared (first use this function)
src\QIComplete\tree.cpp:285: error: template argument 1 is invalid
src\QIComplete\tree.cpp:285: error: invalid type in declaration before ';' token
src\QIComplete\tree.cpp:289: error: `parent' undeclared (first use this function)
src\QIComplete\tree.cpp:303: error: template argument 1 is invalid
src\QIComplete\tree.cpp:337: error: expected `;' before "tag"
src\QIComplete\tree.cpp:338: error: `tag' undeclared (first use this function)
src\QIComplete\tree.cpp:338: error: `prettifyTag' is not a member of `Parse'
src\QIComplete\tree.cpp:434: error: expected `;' before "tag"
src\QIComplete\tree.cpp:436: error: `prettifyTag' is not a member of `Parse'
src\QIComplete\tree.cpp:440: error: `prettifyTag' is not a member of `Parse'
src\QIComplete\tree.cpp:453: error: template argument 1 is invalid
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows -o "..\bin\QIde.exe" object_script.QIde.Release -L"c:\Qt\4.1.3\lib" -lmingw32 -lqtmain ..\build\o\win32\QIde.o -lQtNetwork4 -lQtUiTools -lQtXml4 -lQtGui4 -lQtCore4
C:\DEV-CPP\BIN\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw 32\bin\ld.exe: cannot find ./..\build\o\win32\parse.o
collect2: ld returned 1 exit status
What a luck!!!Launch your navigator, on Google page, enter "ctags" then click on "Search" button. You are lucky! It's the first result. But you are very lucky because there is a direct link to download!
BTW, I tried it under Linux and it worked.
A few comments :
- It works fine and looks nice...
- It is slow as hell...
- The completion window should be movable (Drag and drop)
Last edited by jacek; 4th September 2006 at 16:02. Reason: changed [ code ] to [ quote ] to allow wrapping
Current Qt projects : QCodeEdit, RotiDeCode
It's not a Ctags problem but this :
this header is not found, it's all however the file exists in the zip. It's an old version, try with the last.Qt Code:
src\QIComplete\/parse.h:15:31: ../InitCompletion.h: No such file or directoryTo copy to clipboard, switch view to plain text mode
For the speed: Under Windows it's slow yes but that will be improved.
It don't understand why it would have to be moved?
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
Hi Jean-Luc,
Using 0.18-a here (with my modifications I send on this thread a week or so ago). I noticed that including *.pri files in *.pro files does not work (was it working before...?). The projets are working, I am just not seeing the file list on the IDE when I open the master file:
The project file loaded by the IDE (a subdirs project). includes the demo?.pro, which in turn includes the common.pri project file. I have done that since I have 5 demos which share the same code, and I find this to be easier (the project files for each demo becomes extreamly trivial as you see bellow).
On the IDE I see bellow each sub project I only see the main window and main.cpp, and not the other included files. If you need the full source, contact me via email and a TGZ will be on it's way to you.
Here is demo1.pro file:
Qt Code:
include ( ../common/common.pri ) TEMPLATE = app TARGET = demo1 HEADERS += mainwindow.h SOURCES += mainwindow.cpp main.cppTo copy to clipboard, switch view to plain text mode
and here is ../common/common.pri
Qt Code:
INCLUDEPATH += ../../src/ ../common/ . MOC_DIR += ../../tmp/ RCC_DIR += ../../tmp/ UI_DIR += ../../tmp/ OBJECTS_DIR += ../../../tmp/ # Input RESOURCES += ../common/common.qrc # qmdilib HEADERS += ../../src/actiongroup.h \ ../../src/actiongrouplist.h \ ../../src/qmdiclient.h \ ../../src/qmdihost.h \ ../../src/qmdiserver.h \ ../../src/qmditabwidget.h \ ../../src/qmdimainwindow.h SOURCES += ../../src/actiongroup.cpp \ ../../src/actiongrouplist.cpp \ ../../src/qmdiclient.cpp \ ../../src/qmdihost.cpp \ ../../src/qmdiserver.cpp \ ../../src/qmditabwidget.cppTo copy to clipboard, switch view to plain text mode
The IDE loads this file:
Qt Code:
TEMPLATE = subdirs CONFIG += ordered SUBDIRS = demos/demo1 demos/demo2 demos/demo3 demos/demo4 demos/demo5To copy to clipboard, switch view to plain text mode
Edit, New bug:
Press the create a new file button on the toolbar, you will be prompted for a file name. Cancel that dialog, you will get an error message saying that the file could not be created.
Last edited by elcuco; 8th September 2006 at 20:12.
this one is not a bug, but a request:
on the project explorer, when you click for existing items, the dialog box should contain categories for the different files available ( *.cpp, *.cpp *.h, *.ui, *.qts etc). this will help me sorting out files from a directory.
also right clicking on a category, i would like to have a command for inserting only that kind of files to the project (i want to add a cpp file, i right click the sources entry and choose the add existing sources, or add new source).
i also keep getting the save file dialog when i press enter . it happens when i am writing code like this:
Qt Code:
someclass::someclass( int i ): ********** parent( i )To copy to clipboard, switch view to plain text mode
the place i put the (**********) is when i get the save file dialog. is this on purpose? it just blocks my workflow. a bad no-no imho.
(the bugs report are getting weirder as your application matures no...? )
Last edited by elcuco; 9th September 2006 at 09:14.
jlbrd - from where do we download this program?
Try http://qide.free.fr/download/Originally Posted by ksqt
Last edited by jpn; 9th September 2006 at 17:25. Reason: updated contents
J-P Nurmi
Some suggestions:
- appropriate collapsed branches in the project tree could be expanded when new files are added to them
- file dialogs should remember the previous location, it's a bit annoying having to start exploring from the QIde application dir again and again..
- the editor could accept text file drops (text/uri-list) from another apps (eg. from file managers and such)
- it's nice that QIde remembers previously open project when restarting, but if I close the project first and then restart, it shouldn't still load that project (the "last project" should be reset when closing a project)
- in my opinion, the header/implementation switch button and the refresh button take up too much valuable space
- indentation formatting for selection/whole file
- cursor navigation in the editor could be improved, for example try to write this (with auto-indentation on, auto-brackets off):
when you reach the last (5.) line, press key up. The cursor jumps in the beginning of the 4. line (I guess it would be more convenient if it would go at the "{" instead).Qt Code:
void function() { if (something) { }To copy to clipboard, switch view to plain text mode
BTW, the QMAKEPATH define in Ide.pro does not work for me:
WinXP, MinGW, Qt 4.2.0-rc1g++ -c -O2 -O2 -Wall -frtti -fexceptions -DQMAKEPATH="qmake" -DQT_DLL -DQT_NO_DE
BUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-DQT_NEEDS_QMAIN -I"C:/Qt/4.2.0-rc1/include/QtUiTools" -I"C:/Qt/4.2.0-rc1/inclu
de/QtCore" -I"C:/Qt/4.2.0-rc1/include/QtCore" -I"C:/Qt/4.2.0-rc1/include/QtNetwo
rk" -I"C:/Qt/4.2.0-rc1/include/QtNetwork" -I"C:/Qt/4.2.0-rc1/include/QtGui" -I"C
:/Qt/4.2.0-rc1/include/QtGui" -I"C:/Qt/4.2.0-rc1/include/QtXml" -I"C:/Qt/4.2.0-r
c1/include/QtXml" -I"C:/Qt/4.2.0-rc1/include" -I"." -I"..\dockplugin" -I"..\line
edithistoplugin" -I"..\treeprojetplugin" -I"src" -I"src\ui" -I"C:/Qt/4.2.0-rc1/i
nclude/ActiveQt" -I"..\build\moc" -I"..\build\ui" -I"..\..\..\Qt\4.2.0-rc1\mkspe
cs\win32-g++" -o ..\build\o\win32\mainimpl.o src\mainimpl.cpp
src\mainimpl.cpp: In member function `void MainImpl::lectureINI()':
src\mainimpl.cpp:657: error: `qmake' undeclared (first use this function)
src\mainimpl.cpp:657: error: (Each undeclared identifier is reported only once f
or each function it appears in.)
mingw32-make[2]: *** [..\build\o\win32\mainimpl.o] Error 1
mingw32-make[2]: Leaving directory `C:/Downloads/QIde-0.18-a/Ide'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Downloads/QIde-0.18-a/Ide'
mingw32-make: *** [sub-Ide-make_default] Error 2
J-P Nurmi
there is a patch up this thread which fixes the miscompillation.
Hi Elcuco, Jpn and others
Elcuco: I understood what you want to do. It is a good solution to simplify the projects. But in fact all the qmake functions are not understood. It is a problem to be parsed by the project manager because it is scripting (a little). The function “include†could be integrated but “for†or "prompt" !? Although “include†can have â€!“ before! I will look at what I can do.
Ok, to add a file of a kind (source, header…), it is enough to preselect the kind in the "new file" dialog. Not a problem I will do it.
The file save dialog appears when Enter is entered on a line with “::â€. It is to refresh the methods list because a line with "::" may be a new method. But it is not essential and I removed it in the 0.19.
Jpn: Ok for your 3 first requests. It is in the pile.
The "last project manager" is too simple. By example the last files are opened only for the last project. I want to find the last files (and the position of the cursor) for all the projects. It is necessary that I rewrite this part.it's nice that QIde remembers previously open project when restarting, but if I close the project first and then restart, it shouldn't still load that project (the "last project" should be reset when closing a project)
andindentation formatting for selection/whole fileNot a problem I will do it.cursor navigation in the editor could be improved, for example try to write this (with auto-indentation on, auto-brackets off):
QMAKESPATH was a very bad idea and disappears in the 0.19.
http://qide.free.fr homepage work now normally.
Last edited by jlbrd; 10th September 2006 at 09:01.
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
updated qt4-rsync and now QIde 0.18-a does not compile here (also the original binary failed working on the same "spot":
Qt Code:
../treeprojetplugin/treeprojet.cpp: In member function ‘void TreeProjet::slotShowAsNormal()’: ../treeprojetplugin/treeprojet.cpp:248: error: ‘setAnimationsEnabled’ was not declared in this scope ../treeprojetplugin/treeprojet.cpp: In member function ‘void TreeProjet::slotShowAsKrawek()’: ../treeprojetplugin/treeprojet.cpp:261: error: ‘setAnimationsEnabled’ was not declared in this scope make[1]: *** [../build/o/unix/treeprojet.o] Error 1 make[1]: Leaving directory `/home/elcuco/src/qt4-editors/QIde-0.18-a/Ide' make: *** [sub-Ide-make_default] Error 2To copy to clipboard, switch view to plain text mode
Edit:
The function is now called "setAnimated()".
Edit2:
this code does not get highligted. this is a regression in the syntax highlighter (compared to v 0.17):
Qt Code:
/* if (cornerWidgetTopLeft) */ (headerLayout->addWidget(cornerWidgetTopLeft);To copy to clipboard, switch view to plain text mode
Last edited by elcuco; 15th September 2006 at 12:57. Reason: updated contents
It's curious because the code of lines 248 and 261 is:
setAnimationsEnabled is a function of QTreeView and QTreeWidget since 4.2 version.Qt Code:
#if QT_VERSION >= 0x040200 setAnimationsEnabled(false); #endifTo copy to clipboard, switch view to plain text mode
Are you sure of your Qt version?
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
ChMaster (23rd September 2006)
hi jlbrd,
i must say, very excellent work. i can kiss you for this.
i love QIde but your side is down? why? server dead?
i see in your code you use QProcess::systemEnvironment() why use it.
better it you use
Qt Code:
QStringList pathDirs; pathDirs = pathDir.Split(";");To copy to clipboard, switch view to plain text mode
and iterate this ....., this is only a suggestion.
Note: Keep it up! greate work.
Edit: 2006-09-24 00:25 (Localtime in germany -> bavaria -> OCKTOBERFEST ) I take everything back, side is online
Last edited by ChMaster; 23rd September 2006 at 23:28.
Thanks to appreciate QIde. No, the site nor server are not down, but have problems many times.
I do not know “qgetenvâ€, I will look at that.
The next release 0.19 (this week normally) will have a class explorer to navigate into classes and members(see screenshot), the possibly to transmit arguments to debugged program and a new dialog, "Calls Stack" to show all functions called. Is equivalent to the 'backtrace' gdb command but on graphical window.
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
Hi,
The version 0.19 is released on http://qide.free.fr :
Corrections:
- The code is entirely translated in English, variables, function names and file names.
- Improvement of completion, much faster (5 or 6 times). An improved code increases its reliability. Thanks to Frederic Julian
- The location of qmake is determined in this order:
1. Read in INI file the lasted saved location. If it not saved, use : QLibraryInfo::location( QLibraryInfo::BinariesPath )+"/qmake";
2. Test if the location finded on 1 is good, otherwise display a dialog for choose qmake location
In options dialog, it is possible to change the location of qmake anytime.
Adds:
- The classes explorer to navigate into classes and members. By right-click, each item can display the two files of a member or function: implementation and declaration. The double-click shows the implementation if available. The items are updated in real time when the text in editor is modified and the interval between two updates can be configured in options dialog. This new feature require ctags.
- The project QIde is now a single project without plugin projects (dockplugin, lineedithistoplugin and treeprojectplugin), not requires to build the application.
- On close, "Replace" and "Find in files" dialogs saves their options to reuse on next showing.
- Menu "Debug | Parameters" to configure the arguments of program, his working directory and environment variables.
- Menu "Debug | Calls Stack" to show all functions called. Is equivalent to the 'backtrace' gdb command. In the dialog, when a line is activated, the file is opened on good line.
QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org
I like how this project is coming along, good work keep it up!
There is a feature I would like to suggest:
Could you add the options "copy" and "relative path" to the "add existing files" feature?
This way when one ports projects from say, KDevelop, it wont be necessary to copy all the files first and then create the project in QIde, but it will be possible to do it directly (like KDevelop does it).
The class view is an important feature for me, and from now on, I think QIde will become my ide under windows.
EDIT: well, not just yet I'm afraid.
I tested it with QIde generated test project, and there it looked ok.
But when I try to use a real project, then there are still quite a lot of things to work on
- Imported class do not show in the class view.
At first I thought this has to do with the fact my sources are divided in subdirectories.
But even after I "flattened" the project to be in the root project folder, the the imported classes still don't show on the class view.
- Sub folders are snot supported - all files must be in the root project - this HAS to change if QIde is to be a usable ide for real world coding.
- Some basic features for the pro file configuration are missing: it should be possible to add external libs, lib paths and external include paths (I' know, this is possible through the "free CONFIG command" line, but these two featuers should have their own interface since they are very common to use.
- As long as the pro config option offered by QIde are limited, I'd say it would be good if you'd add a "open pro file in editor", so that one could edit the pro file directly.
If I try to open a the pro file with File->open then I get a blank edit window...?
Oh I see, it thinks I am opening a project.. - this makes the "open pro file for edit" option even more important.
- It would be nice if QIde could remember the default project folder, under which all my projects are, and not open under "documents and settings".
- the "free CONFIG command" option is not working well, its messing the pro file totally.
Never the less, this project looks promising.
Cheers.
Last edited by high_flyer; 27th September 2006 at 12:12.
Bookmarks