Qt/embedded logging facility - qtembedded

I am new to porting qt/embedded to embedded linux.
I want to know about how qt manages logging facility over embedded linux. If the logging facility is there, it can be pushed to serial port or it can be disabled.
Could you anyone share us the view of porting qt to embedded linux and about the logging faciliy? (About what are the real thing that i should consider before porting qt to embedded linux)
Regards,
Santhosh.

For this, i got an answer of disabling the debug log messages.
We should disable the macro's QT_NO_DEBUG_OUTPUT and QT_NO_WARNING_OUTPUT during compilation process.
Hope, it should help :)

Related

How can I easily develop an app such that it will run on every major OS?

Everything that I have coded upto this point has been launched from Command Prompt or the IDE itself. I would like the ability to deploy an application such that launching it doesn't require a tutorial for novices. .exe, .apk, .app, ELF. Double-click and go.
I recall creating .exe files from Python as being restrictivly difficult. I was thinking C# and found .net/maui. It doesn't support linux, which I could maybe look past, but it also doesn't appear to support creating .exe files.
Java is more low level than I would like to deal with. Learning a new language that runs virtually could be the solution. I havn't done much investigating as this wouldn't be the ideal. (Edit: JVM requires an additional install, so that's not going to work.)
I don't have any experience with web developement, but it seems like a promising route none the less. It is not clear to me if I can create a local icon-launchable webpage that will run an application in your browser sans-server. Additionally, I am not sure how far my known languages will take me before I have to then learn CSS or whatever.
Thoughts?
Electron seems to be popular choice for cross-platform development in case you don't mind developing with JavaScript.
QT is another cross-platform framework that was around for a long time.
Specifically for .NET, there's MAUI (mobile-focused, no Linux), Avalonia UI, Eto Forms, AlterNET UI. The last one is desktop-only and still in beta.

Java Netbeans System Using Biometric

Our group we're asked to develop a system that used a biometric. Please, if anyone knows any site already do the system we aim to do that using NetBeans as our platform.
Did you have a look at the NetBeans Platform showcases? Maybe there is some application that might look interesting to you.
Otherwise Geertjan seems to did some work with a fingerprint reader as a NetBeans Plugin, maybe this might help.
Otherwise you should get a bit more specific what you mean by "biometric" and what kind of stuff you would like to plugin in the NetBeans Platform. Generally as soon as you have a Java lib for whatever you want to do, you can use the NetBeans Platform.

AVR - Can't add Programmer on Eclipse

I want to use Eclipse to develop code I will be uploading to my Atmega 2560 microcontroller. I could easily use the Arduino IDE to do this, but in my opinion, developing on Eclipse is a whole lot easier.
So, I followed this guide.
I get to the step where I have to add a programmer, but when I click on the Add button, nothing happens.
Does anyone have an idea as to what might be the problem?
The issue here is that 6.0.x series of avrdude uses a different configuration file which the avr-eclipse plugin is not able to parse. There is a ticket filed for this in the bug tracker in SourceForge.
A temporary solution would be to downgrade to avrdude 5.11.x.
Cheers.
I tried to use Eclipse for Arduino development and I followed this tutorial too but it didn't work for me. Also I couldn't find normal description of how I have to use it. From the other side so called Arduino IDE in my opinion isn't IDE it's very primitive buggy editor(looks like amateur product).
To upload my program to Atmega controller I decided to use avrdude direct from the console, where I specify programmer type and hex file that I want to upload. In this case I write program in c and use avrgcc toolchain for compiling and linking. However the question about IDE is still opened for me(the main problem for me that I don't know how to debug my code without IDE).
Also exist Atmel IDE AVrStudio. I didn'y try to use it, my I will mention it like a variant that you can try if you want.
Getting AVRDude (used by the AVR-ecplipse plugin) running on Windows with USB connected AVR programmers can be a real pain, often involving very specific driver uninstall/install sequences, such as those described at the bottom of this forum topic. I used to use Eclipse for my AVR programming, but have since moved to the new iteration of Atmel Studio. Version 6 is now available, and its relatively straight forward to get everything working well. There are a few things odd about it, but it has improved a lot since AS4.

Is there a way to use axdt with eclim?

I've got Eclipse 3.6 + eclim set up and working for PHP and JavaScript.
As I'm slowly moving away from the Flash IDE for my actionscript projects I've sucessfully installed the — limited but working — axdt plugin for Eclipse but eclim doesn't seem to work for actionscript files.
Neither FDT nor Flash Builder nor asdt/axdt being listed anywhere on eclim's site I think as3 is not supported by eclim. Am I Right?
As of now, vrapper is helping me a lot, but is there a workaround — other than buying Flash Builder/FDT/IntelliJ IDEA Ultimate — to this situation ?
Thanks.
Sounds like you are a Linux user, otherwise you would surely know about FlashDevelop (it's experimental now, but you should be able, to an extent, to run it through Wine, too...).
Other than that, I used this for some time and it was OK for what I needed. It has some problems on top of some problems the original has, some features entirely removed, but it's still better then AXDT.
Here are some other suggestions about AS3 editor on Linux: http://flashdevelop.org/community/viewtopic.php?f=9&t=3973 . Unfortunately, they are not as good as commercial solutions for Win / Mac.

Is there a good tool to debug Perl-based web applications?

Is there a good tool to debug Perl-based web applications? Output to stderr or stdout don't count as tool.
Yup, I've got the perfect tool for you.
CGI::Inspect lets you inspect and debug a running Perl web application.
Read more about the module on the developer's website.
Or check out the slides from a presentation about it at YAPC::NA 2009.
The Komodo IDE supports remote debugging for just this sort of thing.
The EPIC plugin for Eclipse will also let you do this.
In CGI, you can
use CGI::Carp qw(fatalsToBrowser);
It will display any fatal message in your browser.
With Mason, leave the default error option, which outputs the call stack in your browser.
Let's not assume, like the first answer, that the module being used is CGI, but rather provide something that will work across anything that is supported by/supports PSGI/Plack.
Perhaps combine Plack::Middleware::Debug (to display information about the active request and response, perhaps adding the Log4perl panel) and Devel::hdb to debug the running code in a separate tab.
Also available (I haven't tried it though) is InteractiveDebugger
Anything you try should be run in a single process, non-forking server like HTTP::Server::PSGI or HTTP::Server::Simple::PSGI for development and debugging instead of something like Starman.
Late to the party on this one, but I felt some other tools should be called out in case anyone else stumbles upon this question.
The Perl command line debugger is perfectly serviceable, but occasionally hard to use, and has a fairly steep learning curve, especially for those who are used to GUI tools.
Devel::hdb is a great tool for this. It integrates with the existing debugging functionality in Perl, so you can start the application with -d:hdb as a flag, and then you can hit a web based endpoint to start stepping through the application easily. It supports breakpoints, watch expressions, and stepping, so it can help you figure out where an issue is on a somewhat live application.
As mentioned earlier, ActiveState's Komodo IDE (not Edit) has a built in graphical debugger, that can work on a local instance or against a remote server. The remote server must have some libraries installed, and activated within the code to work. It's not invasive, but it should be known. Also, Komodo costs money, but they do provide a trial period. It'll work on Windows, OS X or Linux. ActiveState's Perl Dev Kit has an independent debugger as well, but I haven't used it in years.