Problems with MAC (string.h: No such file or directory) [solved]
-
wrote on 7 May 2013, 10:45 last edited by
Yes, I need in MAC.
Ok, I try it ... I'll comment
Thanx!!!
-
wrote on 10 May 2013, 08:48 last edited by
I check it, in MAC that folder doesn't exist.
Thanx in advance...
-
Do a global search for the files you need, if they are missing, it means that you didn't build everything.
-
wrote on 13 May 2013, 08:11 last edited by
I did the search but I didn't find anything.
Can I download the libraries?? or someone send me??
-
Wait wait wait, I think, we are getting lost.
Remind me what exactly is your problem ? Did you already do a full rebuild of your application ?
-
wrote on 13 May 2013, 13:33 last edited by
Ok, sorry my english is not very good...
When I compiled the application, it didn't work because needs some plugins and frameworks.
Then I began to link all the plugins and frameworks that my program needs.
At first no problem,
- I created the plugin and framework folder in the bundle.
- I copied plugins or frameworks from my internal files to the bundle.
- I changed the source of the frameworks to the executable_path (install_name_tool ....)
But my problem come when I need /qmltooling/libtcpserver.dylib, because it isn't in my folder (/Developer/Aplications/Qt/)
Thanks!!!
-
Did you run macdeployqt ?
-
wrote on 14 May 2013, 06:51 last edited by
-
So it's working now ?
-
wrote on 14 May 2013, 07:25 last edited by
No, I followed the instructions but the problem continues because I don't find two libraries that my applicaction needs.
-
wrote on 21 May 2013, 07:56 last edited by
Any idea?... I am totally lost...I don't understand why these libraries doesn't appear...
-
wrote on 21 May 2013, 09:16 last edited by
Hi!!!,
I find this instruction
@macdeployqt Herr....app/@
It makes the same that I did manually before, but when I use it returns this
@ERROR: no file at "/usr/local/pgsql/lib/libpq.5.dylib" @
And if I do it again,
@WARNING:
WARNING: Could not find any external Qt frameworks to deploy in "Herramienta_CTE.app"
WARNING: Perhaps macdeployqt was already used on "Herramienta_CTE.app" ?
WARNING: If so, you will need to rebuild "Herramienta_CTE.app" before trying again.
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/accessible/libqtaccessiblewidgets.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/codecs/libqcncodecs.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/codecs/libqcncodecs.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/codecs/libqjpcodecs.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/codecs/libqjpcodecs.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/codecs/libqkrcodecs.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/codecs/libqkrcodecs.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/codecs/libqtwcodecs.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/codecs/libqtwcodecs.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqgif.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/imageformats/libqgif.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqico.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/imageformats/libqico.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqjpeg.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/imageformats/libqjpeg.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqmng.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/imageformats/libqmng.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqtga.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/imageformats/libqtga.dylib"
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqtiff.dylib"
ERROR: to "Herramienta_CTE.app/Contents/PlugIns/imageformats/libqtiff.dylib"
WARNING:
WARNING: "Herramienta_CTE.app/Contents/Resources/qt.conf" already exists, will not overwrite.
WARNING: To make sure the plugins are loaded from the correct location,
WARNING: please make sure qt.conf contains the following lines:
WARNING: [Paths]
WARNING: Plugins = PlugIns
@With this, any ides?
-
The first error means that it has found a dependency on libpq and simply failed to copy it from /usr/local/pgsql/lib. You might have it elsewhere and have to copy it manually.
The warnings on the second run is normal since you already ran macdeployqt. You can see it on line 3.
-
wrote on 21 May 2013, 10:07 last edited by
Then, what I have to do?
Copy the library and overwrite in the qt.conf??
-
First thing, copy the library (don't forget to update its paths) and try to run your application.
-
wrote on 27 Jun 2013, 07:07 last edited by
After two months, my application works!!!!! without qmltooling plugin...
But now I have one doubt, I hope the last one ;-)
The original bundle has an icon, and I have watched that in the qt.conf do a reference to this icon.
How I change this icon?
-
Do you mean the icon that is shown to the user ? (i.e. the music note for iTunes ?)
-
wrote on 27 Jun 2013, 07:38 last edited by
yes...
Thank you, before I forget...
-
Add this
@
<key>CFBundleIconFile</key>
<string>myApp.icns</string>
@To your Info.plist
And put the myApp.icns in your bundle Contents/Resources folder
-
wrote on 27 Jun 2013, 09:28 last edited by
Done.... but no change... What I have to do now??