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.
Bookmarks