QDevelop is for and requires Qt4.
Printable View
QDevelop is for and requires Qt4.
:( Ok, thx
I recently got fed up with using Eclipse as my IDE because of serious problems with the C++ indexer and decided to try out QDevelop. I must say that i'm quite impressed and like what i've seen so far.
I have come across two issues though:
- How do i get code-completion to work? Ctrl+Space doesn't seem to work.
- For some reason my Classes browser doesn't get populated. Also, in the .cpp editors, the refresh button at the top doesn't populate the classes and methods combo-boxes.
I hope it's not just my installation being weird and that something can be done to resolve these two issues.
Thanks in advance!
Hello,
This two issues have the same causes, ctags is not properly installed or configured on QDevelop. Please read the documentation to solve the problem : http://qdevelop.org/doc.php#mozTocId146626
I've a problem compiling an empty project with QDevelop.
I've downloaded installer from qdevelop.org and installed it. Then I've downloaded and installed MinGW-3.1.0-1 from www.mingw.org and "qt-win-opensource-4.2.2-mingw".
Here is the output of compiler
Anybody knows what to do ? I suppose there is a problem with make...Quote:
C:/Saves/Dev-Cpp/bin/make,exe -f Makefile. Release
make.exe[l]: Entering directory *C:/Saves/Qt Projects/First1
g++ -c -02 -02 -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_5UPP0RT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -rCs/Saves/Qt^^^/indude/QtCore" -lT:/Saves/Qt/4.2.2/include/QtCore" -I"C:/Saves/Qt/4.
"g++" T ny«nre6n yrBalT© E«E yl^r©
£®-i x®©} £61®^-!®© Ia®Ja -i-»®© E«E I er'sn-i A ©*®-I.
make.exe[l]: Leaving directory *C:/5aves/Qt Projects/First1
make.exe[l]: *** [build\dialogimpl.o] Error 1
C:\5aves\Dev-Cpp\bin\make.exe: *** [release] Error 2
Please help !
You probably have a weird conflict with w Dev-cpp version of mingw so my suggestions would be:
- get rid of your dev-cpp mingw version
- deinstall the 3.xxx mingw version
- cleanup your path variables
- download MinGW-5.0.2.exe from the mingw webpage and install it, including the mingw32-make package
- make sure your path variables are set ok
Try again to compile QDevelop...
Bye,
Andreas
How did you figure out that I've previously installed Dev++ ? :)
I'll try to do this the way you say.
Thanks for the tip :)
I've tried the thing you said. It doesn't work:(
When I try to compile the project it writes something like this(It's my translation from russian ;) )Quote:
g++ is not an external or internal command executed by the programm
Could you just write what should I do to get this thing working step by step.
Thanks a lot.
I installed QDevelop on my SimplyMEPIS32 6.5 beta7 and it works beautifully, including code completion. Thanks for a very find tool.
Send me a snail mail address and I'll send you a donation!
Hello!
I'm still having problems with code completion. I've downloaded ctags 554 and linked to the executable with 'external tools', and as a function check, the class list works great.
But the code completion works only sporadically, and when it does work it takes forever to bring up a list of suggestions. When i type just about anything except an actual variable followed by '->' or '.', i get a list of constants.
ex:
Code:
asdf<ctrl+space>
Also, typing a variable and then '->' or '.' doesn't give me any code completion alternatives:
In that case, and cases like it, the code completion command doesn't do anything. Is it just me or are others having this problem? Any suggestions on how to fix it are warmly welcomed!
I'm using qDevelop 0.21, qt 4.2.2, exuberant ctags 554, windows xp pro.
THRESHE: In your previous post, make is launched in "C:/Saves/Dev-Cpp/bin" directory and it not good. In qdevelop, open the dialog "tools | external tools" and choose, for make, "mingw32-make.exe" in the mingw/bin directory. On my XP, it's "C:\MinGW\bin\mingw32-make.exe".
TheRonin: The completion work only with Qt4 classes and not with your application classes. In addition, you must add at the begin on your cpp file, the #include for your class. In your example, add #include <QString> on top of your file and completion certainly work.
For all;) : You can donate here: http://qdevelop.org/donate.php
THRESHE, did you set your path variable correctly to contain the mingw/bin directory? If so, open the external tools config dialog in QDevelop and use the check button to update the external tools. Alternatively, select the correct paths manually.
My project file contains some variables of the $$MyVar-kind, which as i understand it, QDevelop has some trouble with. After adding some classes qmake has now begun to generate two new files: object_script.myProject.Debug and object_script.myProject.Release.
I'm wondering if this new behavior is due to the number of classes i have or if QDevelop might be responsible in some way. Any insight into this matter would be greatly appreciated! :D
Thanks ghorwin !!
I didn't set the path variables and that was the problem. Pretty stupid but since it's the first time I use MinGW I suppose it doesn't count ;)
Recently I started using Ubuntu (feisty). This is my first foray into linux, so this maybe a linux problem, I don't know.
On windows I have no problem whatsoever with QDevelop.
on ubuntu I compiled and run QDevelop fine. Also used it to compile exsisting projects fine. But anything I try to do in Project Explorer window doesn't work. For example, if I try to right-click and choose delete the project - I get "unable to delete the main project". If I right-click and add new item, a cpp file, etc, I get "unable to create file".
I thought this might be a permission issue, so I run Qdevelop as root, also changed its group and ownership to root, and am still getting the same problem.
Any idea? It's probably a simple thing that I don't know...
EDIT: Sorry, meant to post this in the Qdevelop questions thread..
You have a problem because you have created a project with a template "subdirs". A "subdirs" project can contains only other projects. In this kind of project, it is not possible to add files. And it is not possible to delete the main project, you can close it instead.
This behavior is the same with all platforms and is not a Linux problem.
If you want to create a classical project (without sub-projects), choose "app" to template in the Options dialog.
I found tab indent error on QDevelop... on version window... maybe linux also.. sf.net download latest...
Indent tab one line remove line...
i rewrite so...
Code:
void TextEdit::IndentText( bool make ) /* make == keyPressEvent tab + false - */ { /* baseram = QApplication::clipboard(); */ /* no text selection move tabulator */ if ( make && c.selectedText().isEmpty() ) { if ( m_tabSpaces ) { int nbSpaces = tabStopWidth() / fontMetrics().width( " " ); for (int i = 0; i<nbSpaces; i++) { c.insertText( " " ); } } else { if ( m_tabSpaces ) { int nbSpaces = tabStopWidth() / fontMetrics().width( " " ); for (int i = 0; i<nbSpaces; i++) { c.insertText( " " ); } } else { c.insertText( "\t" ); } } return; } else /* having text to tabulator */ if ( make && !c.selectedText().isEmpty() ) { int startb = c.selectionStart(); int endb = c.selectionEnd(); int position = 0; int startline; int stopline; int xli = 1; if (blocStart.text() == block.text()) { startline = xli; } if (blocEnd.text() == block.text()) { stopline = xli; } } xli = 1; if (stopline > startline) { //////qDebug() << "### ok line greats "; //////qDebug() << "### txt indent " << greppitxt; if (greppitxt.size() > 0) { cut(); baseram->clear(); paste(); selectLines(startline,stopline); setTextCursor( c1 ); ensureCursorVisible(); } return; } else if ( stopline == startline ) { //////qDebug() << "### ok line greats "; //////qDebug() << "### txt indent " << greppitxt; if (greppitxto.size() > 0) { cut(); baseram->clear(); paste(); selectLines(startline,startline); setTextCursor( c2 ); ensureCursorVisible(); return; } } } } { QStringList cuttextlist; cuttextlist.clear(); int xli = 1; if (xli == startline || xli > startline) { if (xli == stopline || xli < stopline) { cuttextlist.append(GrepLineFromTxBloc(block)); ////////qDebug() << "### cat line GrepTextLines " << xli; } } } return cuttextlist.join("\n"); } { if ( m_tabSpaces ) /* if tabulator key on? */ { int nbSpaces = tabStopWidth() / fontMetrics().width( " " ); for (int i = 0; i<nbSpaces; i++) { linetext.append( " " ); } linetext.append(block.text()); } else { linetext.append(block.text()); } return linetext; } void TextEdit::selectLines(int debut, int fin) /* start end */ { if ( debut > fin ) qSwap( debut, fin); setTextCursor( c ); ensureCursorVisible(); }
Sorry but your code seems very complicated to fix a little problem. Before a modification of the code, can you describe exactly what problem occurs.