Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use ACE (Adaptive Communication Environment) in QtCreator?
QtWS25 Last Chance

How to use ACE (Adaptive Communication Environment) in QtCreator?

Scheduled Pinned Locked Moved General and Desktop
10 Posts 5 Posters 7.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    isfarahmad
    wrote on 26 Feb 2011, 15:22 last edited by
    #1

    I am new to Qt. Would any experienced programmer please help me using ACE with Qt ? Please, show me a sample program kindly.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on 26 Feb 2011, 17:27 last edited by
      #2

      Whatever ACE and/or Adaptive Network Environment may be...

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • I Offline
        I Offline
        isfarahmad
        wrote on 26 Feb 2011, 19:41 last edited by
        #3

        I can't guess anything from your answer. Would you kindly help me showing an example?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on 27 Feb 2011, 22:38 last edited by
          #4

          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

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • G Offline
            G Offline
            giesbert
            wrote on 28 Feb 2011, 06:12 last edited by
            #5

            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.

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply
            0
            • I Offline
              I Offline
              isfarahmad
              wrote on 28 Feb 2011, 08:07 last edited by
              #6

              Thanx a lot to Volker and Gerolf. I was wrong. It will be The ADAPTIVE Communication Environment that you mean. Great thanks to u.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mdos
                wrote on 19 Sept 2013, 17:17 last edited by
                #7

                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!

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mcosta
                  wrote on 20 Sept 2013, 09:59 last edited by
                  #8

                  Hi,

                  different C++ compilers doesn't have ABI compatibility; so you MUST compile ACE with the same compiler used to build Qt.

                  Once your problem is solved don't forget to:

                  • Mark the thread as SOLVED using the Topic Tool menu
                  • Vote up the answer(s) that helped you to solve the issue

                  You can embed images using (http://imgur.com/) or (http://postimage.org/)

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mdos
                    wrote on 20 Sept 2013, 21:30 last edited by
                    #9

                    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?

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mdos
                      wrote on 21 Sept 2013, 19:43 last edited by
                      #10

                      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.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved