Results 1 to 1 of 1

Thread: QtCreator 2.5.2 Compile Issues with Qt 4.8.3 - Unix/Solaris 10 - CC compiler

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2013
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Question QtCreator 2.5.2 Compile Issues with Qt 4.8.3 - Unix/Solaris 10 - CC compiler

    I realize that the suggested usage of Qt is with Sun Studio for the Solaris platform, but I have used the Windows version of Qt Creator and want to be able to play around with it under Unix/Solaris. The group I work with has been evaluating Qt for our next version of our product and while you can use Qt Developer with Sun Studio, I would prefer to use Creator since it has many more utilities to make generating code stubs for widgets and such easier.

    That being said, I have been struggling with getting Creator to compile. The content of one thread here helped some (http://www.qtcentre.org/threads/4909...r-Solaris-5-10) and then I fought with getting the Botan portion of things compiled and ended up changing src/libs/3rdparty/botan/src/src.pro and src/libs/3rdparty/botan/botan/qbs to get that portion to compile. (I added solaris as an option to some include switches - which doesn't make sense but it worked so I'm going to just go with it.)

    NOW - I am having issues with src/libs/utils. It seems to be having issues making the connection to the Qt 4.8.3 QtCore/QFuture template class. It found QtCore/QString just fine, so I assume that it has something to do with the definition of the template classes. The first error encountered when compiling is found in filesearch.h near the very bottom where it is attempting to define two new functions using the template (findInFiles and findInFilesRegExp). The next errors found occur in runextensions.h where it is attempting the same type of definitions.

    I have tried changing the #include statement for QFuture to be the absolute header file in the src directory of Qt 4.8.3, but that doesn't make a difference. I still encounter the same errors. Viewing the compiler output, the QtCore directory is being included in the build, so it should be finding what it needs. It seems to be some template definition issue or something.

    So, what am I missing? I have no clue. I am getting a tad frustrated and I have yet to find any documentation or forum that can help me.

    I am using /usr/xpg4/bin/make and SUNWSpro 12.3 CC to compile.

    Thanks in advance!

    ADDITIONAL INFO: The first error in filesearch.h that I am seeing is: Template QFuture is not defined.
    The next error in filesearch.h is: Multiple declaration for QFuture.
    In runextensions.h the errors are: Templates can only declare classes or functions.

    I have also tried using qmake for unixware-cc, solaris-cc-stlport, and solaris-g++ with no better results. Qt 4.8.3 was built using solaris-cc so that is what I am using here.
    Last edited by jjandcats; 6th May 2013 at 23:03.

Similar Threads

  1. QtCreator 2.3.0 compile under Solaris 5.10
    By julio77it in forum Installation and Deployment
    Replies: 0
    Last Post: 23rd May 2012, 12:26
  2. QPixmap/QImage serious issues between Windows/Unix
    By Largo in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2011, 13:22
  3. Copy/Paste Issues in Solaris 10
    By ToddAtWSU in forum Qt Programming
    Replies: 0
    Last Post: 22nd September 2010, 16:49
  4. Compile erros from Qt 4.4.0 on Solaris 8
    By firegun9 in forum Installation and Deployment
    Replies: 0
    Last Post: 20th July 2008, 03:05
  5. 4.1.0 qmake compiler error - Solaris
    By Novahokie in forum Installation and Deployment
    Replies: 6
    Last Post: 19th April 2007, 18:49

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.