[Qt-creator] [Development] UNITY_ANDROID #if Problem

Jake Petroules jake.petroules at petroules.com
Tue Sep 8 23:02:17 CEST 2015


> On Sep 8, 2015, at 1:44 PM, Steve G <steveg2357 at gmail.com> wrote:
> 
> I’m using Unity 5.1.3 with MonoDevelop on a Mac with Yosemite 10.10.5 and I’m having problems with #if statements, For example, when I do
>  
> #if UNITY_ANDROID
>   something 1
> #elif UNITY_IPHONE
>   something 2
> #else
>   something 3
> #endif
>  
> in MonoDevelop it shows autocompletion for UNITY_ANDROID and “No completion found” for UNITY_IPHONE. In addition, something 2 and something 3 are grayed out but something 1 is not. I can successfully build but get an Android compile error when I try to run this in Unity. [something 1 contains UnityEngine Android and Java statements.]
>  
> Steve
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


You're using Unity and MonoDevelop. These mailing lists are for Qt and Qt Creator.
-- 
Jake Petroules - jake.petroules at petroules.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150908/085aac8f/attachment.html>


More information about the Qt-creator mailing list