| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hi Mac Users, at the Moment I'm looking for a good IDE to code Qt on Mac OS X Tiger. A few weeks ago I began to use Eclipse on Windows with the Plugin of Trolltech. Is there a chance to use this plugin for Mac OS too? There isn't a direct port for Mac, but for Linux. Do this one runs on Mac? Many thanks in advance. Robin
Robin Not sure about the Mac Eclipse Plugin, but some alternatives are using Xcode or QDevelop - Adam On Feb 6, 2008 6:07 PM, Robin Gerdes <robin.gerdes@xxxxxxxxx> wrote: > Hi Mac Users, > > at the Moment I'm looking for a good IDE to code Qt on Mac OS X Tiger. A > few weeks ago I began to use Eclipse on Windows with the Plugin of > Trolltech. > > Is there a chance to use this plugin for Mac OS too? There isn't a direct > port for Mac, but for Linux. Do this one runs on Mac? > > > Many thanks in advance. > > Robin >
In Xcode I've got big problems with CodeCompletion. When using the -> operator I see no CodeCompletion. Do you use Xcode for developing? 2008/2/6, Adam Gibson <lethalmonk@xxxxxxxxx>: > > Robin > > Not sure about the Mac Eclipse Plugin, but some alternatives are using > Xcode or QDevelop > > - Adam > > On Feb 6, 2008 6:07 PM, Robin Gerdes <robin.gerdes@xxxxxxxxx> wrote: > > > Hi Mac Users, > > > > at the Moment I'm looking for a good IDE to code Qt on Mac OS X Tiger. A > > few weeks ago I began to use Eclipse on Windows with the Plugin of > > Trolltech. > > > > Is there a chance to use this plugin for Mac OS too? There isn't a > > direct port for Mac, but for Linux. Do this one runs on Mac? > > > > > > Many thanks in advance. > > > > Robin > > > >
I use Eclipse on OS X (10.4.11/Intel) everyday to develop C++ code. While the Qt "integration" does not work on OS X (Why?) you can still develop Qt quite nicely. You will just have to use an external application (QDesigner) to design your guis. I use a "Makefile C++ Project" in Eclipse and let CMake generate the needed makefiles. There is some initial setup in Eclipse such as setting the "Paths and Symbols" to point to the Qt include directories so the Eclipse indexing work properly. Once you have this setup correctly I don't have any problems with code completion like Xcode does. If you are going to stick with qmake then have qmake generate makefiles so that Eclipse can use those makefiles to compile your project. So in short, the Qt Integration does not work on OS X but you still can use Eclipse quite effectively to develop Qt based applications on OS X. Mike Jackson On 2008-02-06 04:51:05 -0500, "Robin Gerdes" <robin.gerdes@xxxxxxxxx> said: > > In Xcode I've got big problems with CodeCompletion. When using the -> > operator I see no CodeCompletion. Do you use Xcode for developing? > > 2008/2/6, Adam Gibson <lethalmonk@xxxxxxxxx>: >> >> Robin >> >> Not sure about the Mac Eclipse Plugin, but some alternatives are using >> Xcode or QDevelop >> >> - Adam >> >> On Feb 6, 2008 6:07 PM, Robin Gerdes <robin.gerdes@xxxxxxxxx> wrote: >> >>> Hi Mac Users, >>> >>> at the Moment I'm looking for a good IDE to code Qt on Mac OS X Tiger. A >>> few weeks ago I began to use Eclipse on Windows with the Plugin of >>> Trolltech. >>> >>> Is there a chance to use this plugin for Mac OS too? There isn't a >>> direct port for Mac, but for Linux. Do this one runs on Mac? >>> >>> >>> Many thanks in advance. >>> >>> Robin >>> >> >> > > -- [ signature omitted ]
On Wed, Feb 06, 2008 at 10:03:35AM -0500, Mike Jackson wrote: > I use Eclipse on OS X (10.4.11/Intel) everyday to develop C++ code. > While the Qt "integration" does not work on OS X (Why?) you can still > develop Qt quite nicely. You will just have to use an external > application (QDesigner) to design your guis. > I use a "Makefile C++ Project" in Eclipse and let CMake generate the > needed makefiles. There is some initial setup in Eclipse such as setting > the "Paths and Symbols" to point to the Qt include directories so the > Eclipse indexing work properly. Once you have this setup correctly I > don't have any problems with code completion like Xcode does. > Can you share your C++ indexer settings? Is it "Fast C/C++" or "Full C/C++"? -- [ signature omitted ]
Attachment:
signature.asc
Description: Digital signature
On 2008-02-06 13:26:12 -0500, Dmitry Nezhevenko <dion@xxxxxxxxx> said: > > > On Wed, Feb 06, 2008 at 10:03:35AM -0500, Mike Jackson wrote: >> I use Eclipse on OS X (10.4.11/Intel) everyday to develop C++ code. >> While the Qt "integration" does not work on OS X (Why?) you can still >> develop Qt quite nicely. You will just have to use an external >> application (QDesigner) to design your guis. >> I use a "Makefile C++ Project" in Eclipse and let CMake generate the >> needed makefiles. There is some initial setup in Eclipse such as setting >> the "Paths and Symbols" to point to the Qt include directories so the >> Eclipse indexing work properly. Once you have this setup correctly I >> don't have any problems with code completion like Xcode does. >> > > Can you share your C++ indexer settings? Is it "Fast C/C++" or "Full > C/C++"? > > -- > WBR, Dmitry I use the Default which is the "Fast C/C++" indexer. Also, Eclipse doesn't seem to handle Qt built as frameworks because of some assumptions made by the indexer and how uic generates #includes in its generated files. I build Qt as universal binary and dynamic libraries. I install into /Users/Shared/Toolkits/Qt-4.3.3-UBLib. This means that I add /Users/Shared/Toolkits/Qt-4.3.3-UBLib/include to the "Paths and Symbols" table under the "GNU C++" Language as a "FileSystem" path. Then, in your source files you need use the following include style: #include <QtCore/QString> #include <QtGui/QMainWindow> That should get you proper indexing with proper code completion. Other than that, I use CMake as my project management tool instead of qmake. IMO Eclipse CDT offers better C++ code completion than Xcode and so I prefer Eclipse over Xcode at this time. Eclipse does have some rough edges but all have a work around to the point where I am very productive with Eclipse CDT on OS X 10.4. Note that I have tried Eclipse CDT/Qt 4.3 on 10.5 on a very limited basis. It seemed to work but who knows what problems would be lurking without a full test. Besides the obvious that Qt 4.3 isn't formally supported on Leopard but most report success using it. Just my 2 cents Mike Jackson -- [ signature omitted ]