开发中可能会用到的几个小tip----QT, pycharm, android, 等
QT:
如果是在windows下开发的话,添加外部库,外部包含头文件路径的时候,要注意用相对路径,或者在项目上右键添加外部库的路径或者头文件路径,否则,会卡在这里开始怀疑人生。。。
如果是在linux下开发的话,添加外部的绝对路径或者相对路径都是可以轻松识别的。
Pycharm:
Pycharm+ anaconda开发的注意事项:
由于重装系统或者其他类似的事情,导致开发环境一再改变,这时候pycharm不能识别到anaconda的安装信息了,也就是不能设置进pycharm中。这是pycharm一个公开很久了流行的bug。解决方法很简单,不是删除旧的anacoanda,毕竟已经经营很久,再次重新安装要花费多少时间精力带宽啊。设置一个在实际安装目录指向默认USER/HOME/anaconda的软连接即可。
windows下:
ln -s /实际安装路径 c:\user\yourname\anaconda
ubuntu下:
ln -s 实际安装位置 ~/anaconda3
Ubuntu:
Ubuntu下开发的小tip:
由于某些原因,系统可能要重置,这时候个人数据如果事先得到了良好的保存那是能够节约大量的时间的。
在~/下设置好指向数据盘的大量的软连接能够非常有效的。包括,androidSDK ,gradle, avd , scikit_learn-data, 等等。可惜的是,这个办法在windows下居然不奏效,除了sdk之外。
另外,。。。,忘记了,以后再来添加吧。
_________________________________________________________________________________________________________________________________________________
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采

浙公网安备 33010602011771号