How to use ACE (Adaptive Communication Environment) in QtCreator?
-
wrote on 26 Feb 2011, 15:22 last edited by
I am new to Qt. Would any experienced programmer please help me using ACE with Qt ? Please, show me a sample program kindly.
-
wrote on 26 Feb 2011, 17:27 last edited by
Whatever ACE and/or Adaptive Network Environment may be...
-
wrote on 26 Feb 2011, 19:41 last edited by
I can't guess anything from your answer. Would you kindly help me showing an example?
-
wrote on 27 Feb 2011, 22:38 last edited by
Sorry, it's not clear to me what you mean by ACE (Adaptive Network Environment). If you are talking about some library, then the answers are "yes" and "read here":http://doc.qt.nokia.com/4.7/qmake-project-files.html#declaring-other-libraries
-
wrote on 28 Feb 2011, 06:12 last edited by
I'm not sure which ACE you mean, I only know this "ACE (ADAPTIVE Communication Environment)":http://www.cs.wustl.edu/~schmidt/ACE.html which is a framework for inter process communication (Also implements a CORBA orb). If you mean this, I can tell you: YES it's possible, I already did it.
You can use nearly each C++ library (I say nearly as there might be some that do not work with Qt due to some special cases I don't know).
The ACE I know has some very similar features as Qt (sync, OS abstraction) where you should decide, which one to use, but we combined Qt for all except IPC and used ACE/TAO Corba for IPC, that worked like a charm.
-
wrote on 28 Feb 2011, 08:07 last edited by
Thanx a lot to Volker and Gerolf. I was wrong. It will be The ADAPTIVE Communication Environment that you mean. Great thanks to u.
-
wrote on 19 Sept 2013, 17:17 last edited by
Hi Gerolf, I'm about to start a project with ACE [cs.wustl.edu] in my Qt project. Due to some 3rd party constraints, I must run this on a windows 7 system (currently using Qt 5.1.1 with bundled MinGW 4.8). Do you know if I need to build the ACE libraries with the bundled MinGW compiler? I don't want to run into ABI incompatibility issues. Thanks!
-
wrote on 20 Sept 2013, 09:59 last edited by
Hi,
different C++ compilers doesn't have ABI compatibility; so you MUST compile ACE with the same compiler used to build Qt.
-
wrote on 20 Sept 2013, 21:30 last edited by
Looks like the ACE build needs pwd, awk, and other MSYS tools. I've been trying to use a number of different MinGW / MSYS combinations with the 'official' Qt released MinGW compiler collection, and I keep running into issues building ACE. It seems that the 'stock' MinGW/MSYS install from mingw.org will build ACE, but I need a Qt compatible posix/dwarf mingw build. I tried to point an MSYS install at a Qt compatible 'mingw-builds' toolchain (via MSYS /etc/fstab) but the build fails.
Is there a documented way of putting together a Qt 5.1.1 compatible MinGW/MSYS toolchain for ACE?
-
wrote on 21 Sept 2013, 19:43 last edited by
It seems that ACE will only compile with a mingw-builds releases with win32 threading model (not posix), dwarf/sjlj exception handling doesn't seem to break the build either way. Looking into ACE configuration options. If anyone has experience with Qt/ACE/mingw32, please chime in. Thanks.