I tried to use the MVVMCross following the TipCalc example but my View doesn't load. I can see the Activity label but the layout doesn't show up, with the following application output:
Forwarding debugger port 8973
Forwarding console port 8974
Detecting existing process
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/MVX.DroidWUL.dll
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Droid.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.CrossCore.Droid.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.CrossCore.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/System.Windows.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Binding.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Binding.Droid.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/PCLCoreMVX.dll
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Plugins.Json.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Newtonsoft.Json.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/System.Net.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/System.Xml.Serialization.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Localization.dll [External]
Loaded assembly: Mono.Android.dll [External]
Loaded assembly: System.Core.dll [External]
[ApplicationPackageManager] cscCountry is not German : LUX
[mono] WARNING: The runtime version supported by this application is unavailable.
[mono] Using default runtime: v2.0.50727
[monodroid-gc] GREF GC Threshold: 46800
[MonoDroid] Xamarin/Android Trial Mode Active
[ApplicationPackageManager] cscCountry is not German : LUX
Loaded assembly: MonoDroidConstructors [External]
[ApplicationPackageManager] cscCountry is not German : LUX
Loaded assembly: System.dll [External]
Loaded assembly: System.Xml.dll [External]
[mvx] 0.05 Setup: PlatformServices start
mvx:Diagnostic: 0.05 Setup: PlatformServices start
[mvx] 0.70 Setup: Bootstrap actions
mvx:Diagnostic: 0.70 Setup: Bootstrap actions
[mvx] 0.82 Setup: StringToTypeParser start
mvx:Diagnostic: 0.82 Setup: StringToTypeParser start
[mvx] 0.84 Setup: ViewModelFramework start
mvx:Diagnostic: 0.84 Setup: ViewModelFramework start
[mvx] 0.85 Setup: PluginManagerFramework start
mvx:Diagnostic: 0.85 Setup: PluginManagerFramework start
[mvx] 0.89 Configuring Plugin Loader for Cirrious.MvvmCross.Plugins.Json.PluginLoader
mvx:Diagnostic: 0.89 Configuring Plugin Loader for Cirrious.MvvmCross.Plugins.Json.PluginLoader
[mvx] 0.89 Ensuring Plugin is loaded for Cirrious.MvvmCross.Plugins.Json.PluginLoader
mvx:Diagnostic: 0.89 Ensuring Plugin is loaded for Cirrious.MvvmCross.Plugins.Json.PluginLoader
[mvx] 0.90 Setup: App start
mvx:Diagnostic: 0.90 Setup: App start
[mvx] 0.91 Setup: ViewModelTypeFinder start
mvx:Diagnostic: 0.91 Setup: ViewModelTypeFinder start
[mvx] 0.92 Setup: ViewsContainer start
mvx:Diagnostic: 0.92 Setup: ViewsContainer start
[mvx] 0.93 Setup: ViewDispatcher start
mvx:Diagnostic: 0.93 Setup: ViewDispatcher start
[mvx] 0.95 Setup: Views start
mvx:Diagnostic: 0.95 Setup: Views start
[mvx] 1.15 Setup: CommandCollectionBuilder start
mvx:Diagnostic: 1.15 Setup: CommandCollectionBuilder start
[mvx] 1.16 Setup: NavigationSerializer start
mvx:Diagnostic: 1.16 Setup: NavigationSerializer start
[mvx] 1.21 Setup: LastChance start
mvx:Diagnostic: 1.21 Setup: LastChance start
[mvx] 1.53 Setup: Secondary end
mvx:Diagnostic: 1.53 Setup: Secondary end
[mvx] 1.62 Null Extras seen on Intent when creating ViewModel - this should not happen - have you tried to navigate to an MvvmCross View directly?
mvx:Error: 1.62 Null Extras seen on Intent when creating ViewModel - this should not happen - have you tried to navigate to an MvvmCross View directly?
[mvx] 1.63 ViewModel not loaded for view CalenderWUL
mvx:Warning: 1.63 ViewModel not loaded for view CalenderWUL
What am i doing wrong?
Thanks
What am I doing wrong?
From that level of detail, no idea
The problem is clearly somewhere in the initialisation of CalendarWUL - whatever that is. But I can't diagnose it from that.
Some things you could try:
does the completed sample (using a more up to date version of the code) run from: https://github.com/slodge/MvvmCross-Tutorials/tree/master/TipCalc
do the latest released binaries work - https://github.com/slodge/MvvmCross-Binaries/
or do older versions work (from that same folder)
does the complete video walkthrough help - https://www.youtube.com/watch?v=qGup08cz7LM&list=PLR6WI6W1JdeYSXLbm58jwAKYT7RQR31-W (there are several other walkthroughs on that same playlist)
Related
I'm working in e-commerce application back end with spring, front end with angular. When I run the app with ng serve command the following error appears :
C:\Users\hp\Desktop\ecommerce-project\03-frontend\angular-ecommerc>ng serve
chunk {main} main.js, main.js.map (main) 20.3 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 268 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.69 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.33 MB [initial] [rendered]
Date: 2020-06-16T13:43:02.010Z - Hash: c4671c1e2b0f67c7381a - Time: 16027ms
ERROR in multi ./src/styles.css ./node_modules/bootstrap/dist/css/bootstrap.min.css ./node_modules/#fortawesome/fontawesome-free/css/all.min.css
Module not found: Error: Can't resolve 'C:\Users\hp\Desktop\ecommerce-project\03-frontend\angular-ecommerc\node_modules\#fortawesome\fontawesome-free\css\all.min.css' in 'C:\Users\hp\Desktop\ecommerce-project\03-frontend\angular-ecommerc'
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
I am creating an application that will target the Android OS using Xamarin (currently Xamarin.Forms but could also be Xamarin.Android). This application will access core business functionality via web API calls.
I have noticed that each time I run the application, the first time I perform an API call it is much slower than it is when making subsequent calls. For the hardware I am targeting, the first calls usually takes somewhere around 3000ms while subsequent calls are somewhere between 200ms and 300ms. This behavior is consistent each time I restart the application.
In trying to isolate where the issue originates, I have tested the API endpoint using Fiddler and the response times are always very fast. I also created a UWP project to see if it was specific to Android or anything Xamarin targets. It looks like this issue is specific to Android.
When the first API call is made, output in the debug window similar to the following is generated:
07-28 00:03:50.354 D/Mono (15670): DllImport searching in: '__Internal' ('(null)').
07-28 00:03:50.354 D/Mono (15670): Searching for 'java_interop_jnienv_call_float_method_a'.
07-28 00:03:50.354 D/Mono (15670): Probing 'java_interop_jnienv_call_float_method_a'.
07-28 00:03:50.354 D/Mono (15670): Found as 'java_interop_jnienv_call_float_method_a'.
07-28 00:03:50.564 D/Mono (15670): Loading reference 8 of netstandard.dll asmctx DEFAULT, looking for System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
07-28 00:03:50.564 D/Mono (15670): Image addref System.Net.Http[0x65db9f70] (asmctx DEFAULT) -> System.Net.Http.dll[0x65dc4118]: 2
07-28 00:03:50.564 D/Mono (15670): Prepared to set up assembly 'System.Net.Http' (System.Net.Http.dll)
07-28 00:03:50.564 D/Mono (15670): Assembly System.Net.Http[0x65db9f70] added to domain RootDomain, ref_count=1
07-28 00:03:50.564 D/Mono (15670): AOT: image 'System.Net.Http.dll.so' not found: (null)
07-28 00:03:50.574 D/Mono (15670): AOT: image '/Users/builder/jenkins/workspace/archive-mono/2019-02/android/release/sdks/out/android-armeabi-v7a-release/lib/mono/aot-cache/arm/System.Net.Http.dll.so' not found: (null)
07-28 00:03:50.574 D/Mono (15670): Config attempting to parse: 'System.Net.Http.dll.config'.
07-28 00:03:50.574 D/Mono (15670): Config attempting to parse: '/Users/builder/jenkins/workspace/archive-mono/2019-02/android/release/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Net.Http/System.Net.Http.config'.
07-28 00:03:50.574 D/Mono (15670): Assembly Ref addref netstandard[0x64a97cd0] -> System.Net.Http[0x65db9f70]: 2
07-28 00:03:50.574 D/Mono (15670): Loading reference 0 of System.Net.Http.dll asmctx DEFAULT, looking for mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
07-28 00:03:50.574 D/Mono (15670): Assembly Ref addref System.Net.Http[0x65db9f70] -> mscorlib[0x62b37138]: 33
Loaded assembly: System.Net.Http.dll [External]
07-28 00:03:50.584 D/Mono (15670): Loading reference 1 of System.Net.Http.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
07-28 00:03:50.584 D/Mono (15670): Assembly Ref addref System.Net.Http[0x65db9f70] -> System[0x645da088]: 6
Thread started: #2
07-28 00:03:50.844 D/Mono (15670): Loading reference 2 of System.Net.Http.dll asmctx DEFAULT, looking for System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
07-28 00:03:50.844 D/Mono (15670): Assembly Ref addref System.Net.Http[0x65db9f70] -> System.Core[0x6488b0c0]: 6
Thread started: <Thread Pool> #3
Thread started: <Thread Pool> #4
Thread started: <Thread Pool> #5
Thread started: <Thread Pool> #6
Thread started: <Thread Pool> #7
Thread started: <Thread Pool> #8
07-28 00:03:51.265 D/Mono (15670): DllImport attempting to load: 'libmono-native.so'.
07-28 00:03:51.275 D/Mono (15670): DllImport loaded library './libmono-native.so'.
07-28 00:03:51.275 D/Mono (15670): DllImport searching in: 'libmono-native.so' ('./libmono-native.so').
07-28 00:03:51.275 D/Mono (15670): Searching for 'SystemNative_GetNonCryptographicallySecureRandomBytes'.
07-28 00:03:51.275 D/Mono (15670): Probing 'SystemNative_GetNonCryptographicallySecureRandomBytes'.
07-28 00:03:51.275 D/Mono (15670): Found as 'SystemNative_GetNonCryptographicallySecureRandomBytes'.
Thread started: <Thread Pool> #9
On subsequent API calls, nothing is generated in the debug window (which more or less explains why the response times are quicker).
Can someone explain what is happening here? Is there a way around this (say, to load resources up from on application start)? Is there a better way?
I don't think the code that calls the API is the issue (as the UWP version does not exhibit the described behavior) but I have included this code below just in case.
var uri = new Uri("...");
try
{
var stopwatch = new Stopwatch();
stopwatch.Start();
using (var client = new HttpClient())
{
using (var response = await client.GetAsync(uri))
{
}
}
stopwatch.Stop();
ResponseTimeLabel.Text = $"{stopwatch.ElapsedMilliseconds.ToString()}ms";
}
catch (Exception exception)
{
ResponseTimeLabel.Text = $"Exception: {exception.Message}";
}
I search some info, and I guess that there are many reason for this.
The app pool is warming up, routes are being built, DI containers may be registering object graphs, caching is occurring, execution plans are being generated and cached, etc etc etc.
there are also other concerns such as JIT overhead and DNS lookups.
You should always assume application warmup time will be required. It is considered best practice to warm up the application on first run to ensure quick responses for consumers of your application. You can't avoid this warmup cost, nor should you try to do so. Rather, structure your deployments so that you are able to warm up the application before users hit it, such as proper load balancing and server rotation.
After I have updated xamarin studio from XamarinStudio-5.10.3.27 to any version from 6.0 to 6.2 and to xamarin.android Version: 7.1.0.41 from
Xamarin.VisualStudio_4.3.0.784.msi I meet one stable problem - any application doesn't work on emulators of Genymotions with message "Could not connect to debugger". Or if they allready on device - they are runs and close without any window. But on real devices all works**
And it is for any application. When I try to downgrade xamarin.studio to older than 6.0 -XamarinStudio-5.10.3.27, and downgrade to Xamarin.Android Version: 6.1.2.21 (from package Xamarin.VisualStudio_4.1.2.18.msi) all stay working correctly.
Even if I made archive signed APK for publishing in PlayStore - it is not running on emulator - only on real devices.
There log from log cat when i am trying to open app signed apk on emulator krista.iMonitoring/md53237fb1ec257677d7a931761b6317ebe.SplashActivity
03-02 12:19:02.850: I/ActivityManager(548): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=krista.iMonitoring/md53237fb1ec257677d7a931761b6317ebe.SplashActivity} from pid 727
03-02 12:19:02.854: W/genymotion_audio(181): out_write() limiting sleep time 46802 to 39909
03-02 12:19:02.982: I/ActivityManager(548): Start proc krista.iMonitoring.process for activity krista.iMonitoring/md53237fb1ec257677d7a931761b6317ebe.SplashActivity: pid=2093 uid=10117 gids={50117, 3003, 1028, 1015}
03-02 12:19:03.010: D/dalvikvm(179): GC_EXPLICIT freed 41K, 4% free 3188K/3312K, paused 1ms+0ms, total 27ms
03-02 12:19:03.022: D/dalvikvm(179): GC_EXPLICIT freed <1K, 4% free 3188K/3312K, paused 5ms+0ms, total 11ms
03-02 12:19:03.038: D/dalvikvm(179): GC_EXPLICIT freed <1K, 4% free 3188K/3312K, paused 3ms+0ms, total 14ms
03-02 12:19:03.098: D/dalvikvm(2093): Trying to load lib /data/app-lib/krista.iMonitoring-1/libmonodroid.so 0xa5057790
03-02 12:19:03.098: D/dalvikvm(2093): Added shared lib /data/app-lib/krista.iMonitoring-1/libmonodroid.so 0xa5057790
03-02 12:19:03.110: W/monodroid(2093): Trying to load sgen from: /data/app-lib/krista.iMonitoring-1/libmonosgen-2.0.so
03-02 12:19:03.154: D/Zygote(179): Process 2093 terminated by signal (4)
03-02 12:19:03.186: I/ActivityManager(548): Process krista.iMonitoring.process (pid 2093) has died.
03-02 12:19:03.222: I/ActivityManager(548): Start proc krista.iMonitoring.process for activity krista.iMonitoring/md53237fb1ec257677d7a931761b6317ebe.SplashActivity: pid=2107 uid=10117 gids={50117, 3003, 1028, 1015}
03-02 12:19:03.234: D/MobileDataStateTracker(548): default: setPolicyDataEnable(enabled=true)
03-02 12:19:03.306: D/dalvikvm(2107): Trying to load lib /data/app-lib/krista.iMonitoring-1/libmonodroid.so 0xa504e1e0
03-02 12:19:03.306: D/dalvikvm(2107): Added shared lib /data/app-lib/krista.iMonitoring-1/libmonodroid.so 0xa504e1e0
03-02 12:19:03.318: W/monodroid(2107): Trying to load sgen from: /data/app-lib/krista.iMonitoring-1/libmonosgen-2.0.so
03-02 12:19:03.390: D/MobileDataStateTracker(548): default: setPolicyDataEnable(enabled=true)
03-02 12:19:03.394: D/Zygote(179): Process 2107 terminated by signal (4)
03-02 12:19:03.394: I/ActivityManager(548): Process krista.iMonitoring.process (pid 2107) has died.
03-02 12:19:03.422: I/ActivityManager(548): Start proc krista.iMonitoring.process for activity krista.iMonitoring/md53237fb1ec257677d7a931761b6317ebe.SplashActivity: pid=2123 uid=10117 gids={50117, 3003, 1028, 1015}
03-02 12:19:03.470: D/MobileDataStateTracker(548): default: setPolicyDataEnable(enabled=true)
03-02 12:19:03.514: D/dalvikvm(2123): Trying to load lib /data/app-lib/krista.iMonitoring-1/libmonodroid.so 0xa504f078
03-02 12:19:03.514: D/dalvikvm(2123): Added shared lib /data/app-lib/krista.iMonitoring-1/libmonodroid.so 0xa504f078
03-02 12:19:03.522: W/monodroid(2123): Trying to load sgen from: /data/app-lib/krista.iMonitoring-1/libmonosgen-2.0.so
03-02 12:19:03.566: D/Zygote(179): Process 2123 terminated by signal (4)
03-02 12:19:03.566: I/ActivityManager(548): Process krista.iMonitoring.process (pid 2123) has died.
03-02 12:19:03.566: W/ActivityManager(548): Force removing ActivityRecord{529ac878 u0 krista.iMonitoring/md53237fb1ec257677d7a931761b6317ebe.SplashActivity t6}: app died, no saved state
03-02 12:19:03.726: W/EGL_genymotion(727): eglSurfaceAttrib not implemented
03-02 12:19:03.730: W/InputMethodManagerService(548): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#52ab5228 attribute=null, token = android.os.BinderProxy#529f3fb8
03-02 12:19:04.338: D/MobileDataStateTracker(548): default: setPolicyDataEnable(enabled=true)
03-02 12:19:04.442: D/MobileDataStateTracker(548): default: setPolicyDataEnable(enabled=true)
Onother apk files that were created before upgrade are running
successfuly on emulator, but current version of Xamarin.Studio (6.0 ...
6.2) does not allow this.
I am struggling with the following problem.
Log of the executed when sonar-runner in Jenkins.
SonarQube Runner 2.4
Java 1.7.0_67 Oracle Corporation (64-bit)
Windows 7 6.1 amd64
SONAR_RUNNER_OPTS=-Xms256m -Xmx512m
INFO: Runner configuration file: D:\CI_BUILD\sonar-runner-2.4\conf\sonar-runner.properties
INFO: Project configuration file: NONE
INFO: Default locale: "ko_KR", source code encoding: "UTF-8"
INFO: Work directory: D:\CI_BUILD\jenkins_home\jobs\CAFE-CLIENT\workspace\.sonar
INFO: SonarQube Server 4.5
05:17:52.119 INFO - Load global referentials...
05:17:53.382 INFO - Load global referentials done: 1263 ms
05:17:53.414 INFO - User cache: C:\Users\pcms_build\.sonar\cache
05:17:53.445 INFO - Install plugins
05:17:54.225 INFO - Install JDBC driver
05:17:54.303 INFO - Create JDBC datasource for jdbc:jtds:sqlserver://10.240.232.145/sonardb;SelectMethod=Cursor
05:17:56.222 INFO - Initializing Hibernate
05:17:59.217 INFO - Load project referentials...
05:18:19.232 INFO - Load project referentials done: 20015 ms
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 34.757s
Final Memory: 21M/291M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Unable to request: /batch/project?key=CAFE-CLIENT&preview=false
ERROR: Caused by: Read timed out
ERROR:
ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch.
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.
Build step 'Invoke Standalone Sonar Analysis' marked build as failure
05:18:19.232 INFO - Load project referentials done: 20015 ms
When "Load project referentials done" value is larger than 20,000 ms,
Always "Read timed out" occurs.
Loading of project referentials is not expected to take more than a few seconds. It is very likely you have a performance issue on your SQ server (or with your DB). Here are some criteria that may increase duration of this web service:
you have installed a lot of language plugins or you have enabled a lot of rules in quality profiles
your project is a multi-module project with a lot of modules
Compare for example with:
http://nemo.sonarqube.org/batch/project?key=org.codehaus.sonar%3Asonar&preview=true
that returns more than 1000 rules and 33 modules. It takes less than 2 seconds to return data.
EDIT: it seems there was some SQL issues depending on your DB vendor. See http://jira.codehaus.org/browse/SONAR-5849 and http://jira.codehaus.org/browse/SONAR-6063. Should be fixed in upcoming 4.5.3
When I run application after using macdeploy my application crashed.
I trying use SDK 4.8.5 and 5.2... but nothing to changes..
Command:
Users/ltise/Qt5.2.0/5.2.0/clang_64/bin/macdeployqt Application.app -verbose=2
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/MacOS/Application")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtSvg.framework/Versions/5/QtSvg"
Log: to "Application.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg"
Log: copy: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtSvg.framework/Resources" "Application.app/Contents/Frameworks/QtSvg.framework/Resources"
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets"
Log: to "Application.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets"
Log: copy: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtWidgets.framework/Resources" "Application.app/Contents/Frameworks/QtWidgets.framework/Resources"
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtGui.framework/Versions/5/QtGui"
Log: to "Application.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
Log: copy: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtGui.framework/Resources" "Application.app/Contents/Frameworks/QtGui.framework/Resources"
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtCore.framework/Versions/5/QtCore"
Log: to "Application.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
Log: copy: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtCore.framework/Resources" "Application.app/Contents/Frameworks/QtCore.framework/Resources"
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtOpenGL.framework/Versions/5/QtOpenGL"
Log: to "Application.app/Contents/Frameworks/QtOpenGL.framework/Versions/5/QtOpenGL"
Log: copy: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtOpenGL.framework/Resources" "Application.app/Contents/Frameworks/QtOpenGL.framework/Resources"
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtXml.framework/Versions/5/QtXml"
Log: to "Application.app/Contents/Frameworks/QtXml.framework/Versions/5/QtXml"
Log: copy: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtXml.framework/Resources" "Application.app/Contents/Frameworks/QtXml.framework/Resources"
Log:
Log: Deploying plugins from "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins"
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/platforms/libqcocoa.dylib"
Log: to "Application.app/Contents/PlugIns/platforms/libqcocoa.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/platforms/libqcocoa.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport"
Log: to "Application.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport"
Log: copy: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtPrintSupport.framework/Resources" "Application.app/Contents/Frameworks/QtPrintSupport.framework/Resources"
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/printsupport/libcocoaprintersupport.dylib"
Log: to "Application.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/accessible/libqtaccessiblewidgets.dylib"
Log: to "Application.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqgif.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqgif.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqgif.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqico.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqico.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqico.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqjpeg.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqjpeg.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqjpeg.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqmng.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqmng.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqmng.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqsvg.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqsvg.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqsvg.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqsvg_debug.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqsvg_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqsvg_debug.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqtga.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqtga.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqtga.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqtiff.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqtiff.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqtiff.dylib")
Log: copied: "/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins/imageformats/libqwbmp.dylib"
Log: to "Application.app/Contents/PlugIns/imageformats/libqwbmp.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("Application.app/Contents/PlugIns/imageformats/libqwbmp.dylib")
Log: Created configuration file: "Application.app/Contents/Resources/qt.conf"
Log: This file sets the plugin search path to "Application.app/Contents/PlugIns"
Application output to console:
Tests:~ ltise$ /Developer/Projects/Tests/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/MacOS/Application ; exit;
("/Users/ltise/Qt5.2.0/5.2.0/clang_64/plugins")
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
objc[47743]: Class NotificationReceiver is implemented in both /Developer/Projects/Tests/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets and /Users/ltise/Qt5.2.0/5.2.0/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets. One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
Support formats: ("bmp", "pbm", "pgm", "png", "ppm", "xbm", "xpm")
QObject::moveToThread: Current thread (0x1039057e0) is not the object's thread (0x1039079f0).
Cannot move to target thread (0x1039057e0)
On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
This application failed to start because it could not find or load the Qt platform plugin "cocoa".
Available platform plugins are: cocoa, minimal, offscreen.
Reinstalling the application may fix this problem.
Abort trap: 6
logout
[Process completed]
Check otool:
otool -L Application.app/contents/macos/application
Log:
Application.app/contents/macos/Application:
/System/Library/Frameworks/GLUT.framework/Versions/A/GLUT (compatibility version 1.0.0, current version 1.0.0)
#executable_path/../Frameworks/QtSvg.framework/Versions/5/QtSvg (compatibility version 5.2.0, current version 5.2.0)
#executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.2.0, current version 5.2.0)
#executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.2.0, current version 5.2.0)
#executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.2.0, current version 5.2.0)
#executable_path/../Frameworks/QtOpenGL.framework/Versions/5/QtOpenGL (compatibility version 5.2.0, current version 5.2.0)
#executable_path/../Frameworks/QtXml.framework/Versions/5/QtXml (compatibility version 5.2.0, current version 5.2.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
Crash Report on running:
Process: Application [45439]
Path: /Developer/Projects/Vectools/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/MacOS/Application
Identifier: #BUNDLEIDENTIFIER#
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [169]
Responsible: Application [45439]
User ID: 503
Date/Time: 2014-02-02 21:38:19.006 +0400
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: 7B93716C-BCAF-BAA9-71E1-51752259B530
Sleep/Wake UUID: CB2DC327-2013-416E-B21F-0655A3570A07
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff89f47866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8c28635c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff91598bba abort + 125
3 QtCore 0x0000000100ed4b69 0x100ebb000 + 105321
4 QtCore 0x0000000100ed51a1 QMessageLogger::fatal(char const*, ...) const + 161
5 QtGui 0x0000000100a9a5cd QGuiApplicationPrivate::createPlatformIntegration() + 4333
6 QtGui 0x0000000100a9a5eb QGuiApplicationPrivate::createEventDispatcher() + 27
7 QtCore 0x00000001010cc778 QCoreApplication::init() + 104
8 QtCore 0x00000001010cc6e7 QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) + 39
9 QtGui 0x0000000100a9850e QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) + 14
10 QtWidgets 0x00000001004c28be QApplication::QApplication(int&, char**, int) + 206
11 #BUNDLEIDENTIFIER# 0x000000010012b85a main + 618
12 #BUNDLEIDENTIFIER# 0x0000000100004524 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff89f47e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c286f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8c289fb9 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff89f48662 kevent64 + 10
1 libdispatch.dylib 0x00007fff92c0243d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff92c02152 _dispatch_mgr_thread + 52
Thread 3:
0 libsystem_kernel.dylib 0x00007fff89f47e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c286f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8c289fb9 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff7a579310 rcx: 0x00007fff5fbff638 rdx: 0x0000000000000000
rdi: 0x0000000000000707 rsi: 0x0000000000000006 rbp: 0x00007fff5fbff660 rsp: 0x00007fff5fbff638
r8: 0x00000001030020a0 r9: 0x0000000000000000 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff5fbff928 r13: 0x00007fff5fbffc20 r14: 0x0000000000000006 r15: 0x00007fff5fbff8f8
rip: 0x00007fff89f47866 rfl: 0x0000000000000206 cr2: 0x0000000100d6ece5
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x100000000 - 0x1002c7fff +#BUNDLEIDENTIFIER# (???) <EE932156-8537-39B5-9537-50FD73AAEB62> /Developer/Projects/Vectools/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/MacOS/Application
0x10039a000 - 0x1003daff7 com.apple.glut (3.6.0 - GLUT-3.6.0) <87683C90-4303-3561-9CC8-5772FDEC16F0> /System/Library/Frameworks/GLUT.framework/Versions/A/GLUT
0x10044e000 - 0x100485ff7 +QtSvg (5.2) <03531661-9BA9-3B37-B1D5-EE422B1EB00B> /Developer/Projects/Vectools/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg
0x10049a000 - 0x100951ff7 +QtWidgets (5.2) <EF8840B8-A258-3110-8B39-EDBE4E708D87> /Developer/Projects/Vectools/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
0x100a77000 - 0x100df6ff7 +QtGui (5.2) <1D90F282-6151-3035-8878-C6AFB7E54E1D> /Developer/Projects/Vectools/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui
0x100ebb000 - 0x1013b3ff7 +QtCore (5.2) <823F3C93-3ADF-3CD3-992D-06097B4F44E5>
....................
/Developer/Projects/Vectools/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-Release/qt_debug/Application.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
0x101437000 - 0x10147efff +QtOpenGL (5.2) <5CCDC659-2305-35DA-95F6-997237B57E28> /Developer/Projects/Vectools/build-Application-Clone_of_Desktop_Qt_5_2_0_clang_64bit2-nwind.dylib
....................
0x7fff9782a000 - 0x7fff97afefc7 com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff97b6c000 - 0x7fff97b95fff com.apple.DictionaryServices (1.2 - 208) <A539A058-BA57-35EE-AA08-D0B0E835127D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff97b96000 - 0x7fff97bf9ff7 com.apple.SystemConfiguration (1.13 - 1.13) <F05F4149-981B-380B-8F50-51CE804BBB89> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 22215290
thread_create: 2
thread_set_state: 13573
VM Region Summary:
ReadOnly portion of Libraries: Total=211.9M resident=211.8M(100%) swapped_out_or_unallocated=92K(0%)
Writable regions: Total=51.0M written=1344K(3%) resident=1804K(3%) swapped_out=0K(0%) unallocated=49.2M(97%)
REGION TYPE VIRTUAL
=========== =======
Kernel Alloc Once 4K
MALLOC 40.4M
MALLOC (admin) 32K
STACK GUARD 56.0M
Stack 9304K
VM_ALLOCATE 328K
__DATA 22.0M
__IMAGE 528K
__LINKEDIT 72.6M
__TEXT 139.3M
__UNICODE 544K
mapped file 22.5M
shared memory 4K
=========== =======
TOTAL 363.2M
Model: MacBookPro9,2, BootROM MBP91.00D3.B08, 2 processors, Intel Core i7, 2.9 GHz, 8 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.0f6 12982, 3 services, 15 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: TOSHIBA MK7559GSXF, 750,16 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8, 448,6 MB
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
If you have both Qt versions installed at the same time, it may give you some problems. I think I've had to give up on having both installed at the same time, because of some of the trouble it would give me during deployment.
And then it you have homebrew installed and it has a version of Qt, it can also get in the way on your Path, when the mac deploy tool is running.
Hope that helps.