[Interest] Deploying 5.4.0 Application to Linux

William Hallatt goblincoding at gmail.com
Tue Mar 10 17:57:10 CET 2015


Hi Mike,

I am not familiar with Mint, but I am very familiar with that error
message.  I wrote up a post on how I resolved it for Ubuntu 12.04 and a
previous Qt 5 release quite some time ago, but it might assist you somewhat
in figuring out where to go next:

http://goblincoding.com/2013/11/07/deploying-qt-5-applications-on-ubuntu-12-04/

Hope that helps!

Regards,
William.



On 10 March 2015 at 17:47, Mike Jackson <imikejackson at gmail.com> wrote:

> I am having an issue trying to create a self contained app package on
> Linux. Specifically I am using Mint 17.x for development and Qt 5.4.0
> offline installer. I use CMake for my build system. I have no issues
> debugging my application so that sanity check works from QtCreator.
>
> I have created a folder where I have placed my application (DREAM3D), a
> shell script (DREAM3D.sh) and qt.conf. I have also created a "lib"
> directory and a "plugins" directory. In the plugins directory I have the
> "platforms" directory that contains the libqxcb.so file. I have placed all
> the qt libraries in the lib directory. I have exported the LD_LIBRARY_PATH
> correctly. I have placed the following in the qt.conf:
>
> [Paths]
> Plugins=plugins
>
> When I start the app from the terminal i get the dreaded "
>
> [mjackson at MintDev1:DREAM3D-5.2.967-Linux-x86_64]$ ./DREAM3D
> This application failed to start because it could not find or load the Qt
> platform plugin "xcb".
>
> Reinstalling the application may fix this problem.
> Aborted
>
> I have googled about as much as possible. Everyone seems to say the same
> thing, to which I have followed the instructions and I _think_ I have
> everything setup the way the articles/postings/blogs have instructed but
> still nothing is working. Has anyone ever encountered this and what was the
> problem?
>
> Thanks for any help.
>
> --
> Mike Jackson
> imikejackson _at_ gee-mail dot com
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150310/22cf0754/attachment.html>


More information about the Interest mailing list