Posts

Showing posts with the label Tips and Tricks

Git on Windows and custom SSL proxy certificate problem

Image
Modern proxies, usually used on a companies, check each downloaded data for malicious code. For allow check of SSL connections the proxy provide a custom SSL certificate to use from inside company PCs. Use this custom certificate in a browser is a very easy operation since all modern browser can manage them by internally install the certificate. However with some other tool like Git the procedure is a bit more complicated.

Android: Remove system app from adb command line

Image
In case you want to remove from your android a system app is possible to use few commands using adb but remember you need to have a rooted device for get it working

Qt Creator: set dependencies between subprojects

Image
In case your project is divided in some subprojects like, the typical case, a main app plus a library you have to be sure, when you make some change into the library, also the main app is automatically recompiled for "integrate" the new changes of the library. This operation can be done by set a dependency between the library and the app.

Visual Studio 2015 required executable runtime libraries

Image
Once finished to develop your software final step is start to release the installation package. Executable generated by Visual Studio compiler require some additional libraries called runtimes allowing to software to run correctly. You have to provide these libraries in your installation package for allow your software to run in each machine without problems.

Qt Designer: develop custom widget plugin getting mouse events

Image
If you want to develop a custom Qt widget to distrbute or sell a good habits is always to develop, in addition, a plugin working into Qt Designer allowing to visually use and configure your custom widget inside the designer GUI editor. Develop such plugin is not a difficult task, official documentation and examples are here and, as usual for Qt, all is well explained.

Qt and Visual Studio: Qt5Core.dll not found error

Image
When I move a Visual Studio project from different PCs (using same version of Visual Studio) sometime it happen to get a very strange error running the executable from Visual Studio (with Qt Plugin installed).

Launch an app from Android shell terminal

Image
If you want to launch an Android app from shell command line terminal there is a simply command allow to do that but you have to know some info about the app you want to execute. The command is named am and is basically a command line interface to the system ActivityManager .

Configure Android emulator to go through a proxy

Image
If you are developing an Android app and need the emulator to access Internet you can get the result in case of your network is under a proxy. The emulator interface doesn't have some GUI dialog allow to insert proxy params but there is a way to set these params by command line. This mean you have to manually launch the emulator instead of have it automatically started by the IDE.

Subversion commit and ignored files

Image
Just a quick note for provide a solution to a problem that, sometimes, can happen during a subversion commit operation. Subversion, frequently abbreviated as SVN, is a software versioning and revision control system distributed under an open source license. I will not explain here how to use subversion since if you know them you surely already know how to use it. On the contrary, if you don't know it probably you don't need them. Anyway if you make a commit operation of a large number of files containing also binary file like precompiled libraries and so on keep attention since is possible (especially under Linux) that some type of file are automatically included in a special list of ignored files. This mean these files ignored by subversion will not be added to the commit without give you any advise of that.