Compared with Android Studio, QtCreator is really easy to use!

Recently, because of an Android project, I switched from QtCreator to Android Studio. After using it, I found that Android Studio is really not as easy to use as QtCreator. Of course, after all, QtCreator has reached version 6, while AndroidStudio has only reached 4. Of course, I used 3.5.2. I didn’t dare to use the latest one. I used 3.6. As a result, even new projects cannot be smoothly created. Compiled in the past, this is really speechless, but I also blame the domestic network environment. So, I still have time in the future, try to do more with QtQML, and see if Android is better natively now, maybe Qt can do a good job too!
Next, let me complain about it, and I will continue to update it later. As the version upgrades, I don’t know if it will be much better!

  1. Android manages multiple project modules by using module. Use a parent module to add sub-modules to add more modules. You can also add them manually in settings.gradle.
    If you have many apps, then you can add these apps as modules to your app project.
    In QtCreator, you can directly use the command line qmake -project to automatically import qt. Of course, if you prefer to manually, you can also go to the QtCreator menu to import one by one, and the most useful part is , This is not only Qt code, C code can also be used, in short, I think I can import a copy of the code like this, which is really good.
  2. Android's column display code is really not easy to use. In QtCreator, in which column the mouse is clicked, the current column will be the main code editing window. When you open the code file again, the file will automatically be displayed in the current Columns. This is very useful when I need to compare files or view multiple code files, but AndroidStudio cannot.
  3. Regarding the layout, when I read the tutorial before, others always edit the layout file XML. I always have a question. It is clearly visible and can be used. Why not directly layout and edit the XML file? Did you work so hard? As a result, I found that AndroidStudio could not automatically layout like QtCreator. Well, it is really convenient and impeccable to click a vertical layout in QtCreator and a grid layout.
  4. Regarding the code for adding controls in the layout, in QtCreator, we can directly add the button click code with the right mouse button. Of course, there are many others, and then in AndroidStudio, there is no way, no use, you have to honestly write it yourself.
  5. Regarding shortcut keys such as running and debugging, it would be better if you can follow QtCreator uniformly. Of course, I think I can do things with one hand, why do I have to do it with two hands? Shortcut key combinations should consider whether the hand can get it, or not? Maybe you don't use a mouse, but please allow me to think that using a mouse will be faster.
  6. Continue to update others.

Guess you like

Origin blog.csdn.net/poolooloo/article/details/106075043