Qt macdeployqt deploy not working properly - qt

I've got an application using sqlite that works fine when running it through the compiler. (Both debug and release more). However when I try to deploy it with macdeployqt I get the following error:
ERROR: no file at "/opt/local/lib/mysql55/lib/libmysqlclient.18.dylib"
When trying my app on a mac that does not have Qt installed it crashes randomly after a few minutes.
Any ideas? I am not using mysql in my app just sqlite.

I think you need to build sql plugin at first.

Related

A deployment error in Xamarin.Forms UWP when deploying from a PC to itself

When I just installed a Visual Studio 2017 and created my Xamarin.Forms application, it ran fine on my Windows 10 PC. However, I then installed some apps from Steam (which is the only thing I can think of that could change system settings). After that, when I try to create another Xamarin.Forms project, it does not deploy well to my machine and gives the following error:
DEP6200: Bootstrapping failed. Device cannot be found.
SmartDeviceException - Deployment failed because no
device was detected. Make sure a device is connected
and powered on. [0x80131500]
Strangely enough, my first app continues to build and run fine, even if I uninstall it from Windows and then deploy it again.
What could be the issue?
I have just noticed that Visual Studio makes ARM the default architecture. Changing it to "Any CPU" brought back the option to run the app on my machine.

UWP project needs to be deployed before it can be started

I am using visual studio 2017, created a new xamarin forms project and tried to run the UWP project. It shows the following error:
the project needs to be deployed before it can be started. verify the project is selected to be deployed the solution configuration manager, or deploy it explicitly by clinking one of the deploy commands in the build menu.
I have looked at all online solutions and only found that you need to set the cpu to x86 and to check the deploy checkbox under the configuration manager under the solution. Both these options don't work. I still get the same error. I have also tried every cpu option including ARM.
Have you tried to uninstall the existing UWP app from the Windows Start menu > All apps? Then deploy again from VS. It did the trick for me.
Sometimes when I create an app packet for win store; Visual studio seem to get hung up building to the packet (project needs to be deployed before it can be started -error).
I solve it by creating a new app packet.

dotnet run command does not find user secrets

I have a asp.net core project running on a macbook. I'm using visual studio code as my code editor. When I run the project from visual studio code the application boots fine however when I execute dotnet run from the terminal in the project's working directory I get an error that the database hostname value is null. This value is defined in user-secrets. Is there an extra setup I'm missing from the command line?
If it is loading the user secrets only in Development as is normally done, you have to remember to set the environment variable ASPNETCORE_ENVIRONMENT to Development.

Qt executeable crashes on another system

Application is compiled using Qt 4.8.1 msvc10 and i have copied every .dll needed still the application crashes before starting and the module causing the crash is qtsql4.dll although it works fine within my system
how can i fix this error
by copying sql drivers plugin directory along side the exe file found in Qt/mscvc10 the problem is solved

Problems with SQLite JDBC driver under IntelliJ

So, I've got a problem, similar to this one, but with a WebApplication running with JBoss on RHEL: How to install SQLite JDBC Driver? but I cannot find a solution.
My problem is: If I build my code with IntelliJ I can run it locally (A Windows PC) but can't run it under a RHEL server. It throws: "java.sql.SQLException: RouteToMyDataBase"
However if I build my code with NetBeans it run's under both OS (RHEL and Windows), sooo, I don't think my code's wrong at all and I think there's something to do with my classpath, or the way I'm building my "artifacts" with IntelliJ.
I tried by copying my libs inside /opt/jbosseap51/jboss-as/server/default/lib/ as suggested somewhere else here (I lost the Question)
Please, don't tell me to build my project with netbeans, because it is a huge application build using intelliJ and would be too difficult to migrate all the project. It is working ok, but recently while migrating our project to different machines through SVN happend this.
¿Is there anything else I have to configure?

Resources