[Qt-creator] Problems while compiling Qt Creator plugins in mac

Eike Ziller eike.ziller at nokia.com
Thu Feb 25 11:12:27 CET 2010


On Feb 25, 2010, at 7:44 AM, ext Aneesh Muralidharan wrote:

> Hi Eike,
> Thanks for the reply...
> This is the full output of make http://dpaste.com/hold/164550/ 
> well also as you have suggested i tried to linked it with release libs as CONFIG+=release and CONFIG-=debug still same error please check 
> Thanks
> Aneesh .

The linker line specifies /Users/prashanthudupa/Development/qt-creator-1.3.1-src/build/lib/qtcreator/plugins/Nokia as a library path, but that is not the place where the libaries are put on the mac.

The lines 
DESTDIR = $$QTC_BUILD/lib/qtcreator/plugins/VCreateLogic
LIBS += -L$$QTC_BUILD/lib/qtcreator/plugins/Nokia
in QtCPlugins.pri are wrong.

Put 
DESTDIR = $$IDE_PLUGIN_PATH/VCreateLogic
LIBS += -L$$IDE_PLUGIN_PATH/Nokia

after including qtcreatorplugin.pri instead.

++ Eike

> On Wed, Feb 24, 2010 at 3:25 PM, Eike Ziller <eike.ziller at nokia.com> wrote:
> Hi,
> 
> On Feb 24, 2010, at 4:54 AM, ext Aneesh Muralidharan wrote:
> 
> > Hi,
> > is there any special doc which point to how to compile Qt Creator
> > Plugin in Mac I am following
> > http://www.vcreatelogic.com/p/2009/08/document-on-writing-plugins-for-qt-creator/
> > I'm finding it difficult to compile Qt Creator plugins in mac. which
> > is available here SVN Location:
> > https://svn2.hosted-projects.com/vcreatelogic/VCLTools/QtCPlugins
> > Username: anonymous
> > Password: anonymous
> > I'm using Qt 4.6.2 and Qt Creator 1.3.0.
> >
> > When I tried to compile I got these errors
> > ldld: library not found for -lCore_debug
> > : library not found for -lCore_debug
> > collect2: ld returned 1 exit status
> > collect2: ld returned 1 exit status
> > lipo: can't open input file:
> > /var/folders/Vy/Vyn6FFtiFOKCA48HAb-Rw++++TI/-Tmp-//ccDV1o4V.out (No
> > such file or directory)
> > make[1]: *** [../../qt-creator-1.3.1-src/build/bin/Qt
> > Creator.app/Contents/PlugIns/VCreateLogic/libQTCPluginProjectSupport_debug.dylib]
> > Error 1
> > make: *** [sub-QTCPluginProjectSupport-make_default-ordered] Error 2
> 
> It would be useful to see a few more lines above the the actual error message (e.g. the actual line passed to the linker).
> 
> Generally speaking, your plugin tries to link against the debug version of Qt. Which might not be there if you use the Qt binary download. It might help to download and install the package with the debug libraries (you find the link on the page that pops up when you download the Qt Mac binary package).
> 
> ++ Eike
> 
> > Thanks and regards,
> > Aneesh.M
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> --
> Eike Ziller
> Software Engineer
> Nokia, Qt Development Frameworks
> 
> Nokia gate5 GmbH
> Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
> Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
> Umsatzsteueridentifikationsnummer: DE 812 845 193
> Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
> 
> 
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> <ATT00001..txt>

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori







More information about the Qt-creator-old mailing list