Is there anyway that we an use visual studios source code into Qt source code? to develop a application on image processing.
i had a program on visual studio but i don't understand how to use that code in Qt 5.
can anyone please tell me how can we use it
Thank you in advance
actually, it depends how is your project.
if you previous project is C++ and design good. UI just a present layer, it should not be heavy work.
but if your image processing logic are strong related to MFC, you might spend lots of time on your migration.
Related
I have a c++ console project with all the models, and program logic.
I would like to create an interface that will enable user interaction.
Is there an easy way to import all my classes and code to be used in the Qt project? Or should I download the Qt plugin for VS?
EDIT:
I am targeting Qt 5.2, and VS 2012.
Maybe my question isn't to clear. I'd rather leave the console project alone, and just use the models and logic.
Is there an easy way to import all my classes and code to be used in the Qt project? Or should I download the Qt plugin for VS?
I believe, the plugin would make your life somewhat simpler. Please note that they do not work with the free express edition though, so if you can only use that, it is not your piece of cake.
You can download the Qt 4 add-in from here, and the Qt 5 add-in from here.
You can leave the console project as is, and you can link against the common functionality in your Qt frontend by selecting the desired library path and name of your library covering the models and the business logic.
I wasn't sure how to ask, but from my limited understanding and experience, interpreted languages like Python and PHP, are quicker to build and implement changes because you can do so using, well, notepad if you need to and fix something quickly.
From what I know about asp.net, you can do the same, but with a simple text editor it is very complicated to do so and using Visual Studio is just about the only way to be productive with .net. I just remember LOTS of xml files produced automatically by Visual Studio based upon Linq, or a BLL, or whatever the current technology is (no slam there intended). I'd throw the Java stack in the same category as .NET for the purposes of this question. I like Visual Studio but I don't like how I have to use it to recompile the whole project each time I change something in my model or controller (I'm sure that is an exaggeration but I don't know.)
Are these statements accurate?
The need to recompile your code while using Visual Studio is due to the design of the programming language used - not due to Visual Studio. Java is the same, whether or not you are using NetBeans, Eclipse, or NotePad.
An IDE is typically not required, but as you pointed out, it makes life easier. I started out using vim to program in Python - but now use Eclipse.
Django comes with built-in command line tools to help you build your initial project, but in theory, you could manually create these files.
If you're comfortable using notepad to do your PHP work, then you wouldn't need an IDE to do Django.
That said, there are many IDEs for Django (and PHP) that can make the process easier for some.
I am currently working on a project where TeeChart Pro ActiveX 2012 is used with Visual C++ and MFC.Now i want to move my project to cross platform language Qt.I have searched a lot on Qt forums but didn't get a proper sample code to display Teechart in Qt.I shall be highly thankful if someone could give me a sample code or proper workaround to solve my problem.
I'm sorry but we don't have any QT example. You can use ActiveX controls in QT but only Windows, not for X-platform applications. This might be your problem. Have you managed to use other ActiveX controls? All TeeChart options in QT were discussed here.
I am interested to write a GUI based tool which would generate code in return. Something similar to VB GUI interface or Xcode's Interface Builder. I am going to use QT tookkit which is cross platform.
Can you help me to point out some resources which could be helpful to make such tools?
Thanks
Qt creator comes with an integrated UI Designer. The designer can be used stand alone or integrated into Visual Studio as well.
I have created a desktop app and now I need to install in on a client's computer.
However, the client would like to have a wizard to install. Like Visual Studio setup project allows you to add an installer.
Does Qt allow you to create an installer or do I need to use a 3rd party installer like InstallShield or Wise?
You should use the Qt Installer Framework :
http://doc.qt.io/qtinstallerframework/ifw-overview.html
I use Inno and like it a lot. I've tried a few others and this one worked well for me. (and free)
You definitely need a third party installer. A few good ones have already been mentioned. If you decide to go with a paid solution bitrock's installer is a perfect choice and they are also Qt centric and their main business is around Qt.
As an open source alternative I would suggest NSIS
If you only target Windows, you can use WiX (Windows Installer XML), which can be integrated into Visual Studio and MSBuild, so relatively easy to use. It's free and produces valid MSI files, which may be a requirement anyway.
If you rather need a simple wizard setup, give InnoSetup a try.
I think better to use a third party software like installshield. They are optimized for the packaging purpose and provide much customizable options.
If you have Visual Studio already, you can continue to use a setup project to distribute your application. The tools are built in. This is the technology that WiX "replaced" (more on that later), and it's what I do. It's not an ideal solution, but it gets me an MSI, which is how Windows software should be installed these days. Using InstallShield or something might be better, but to be honest I've never had a good experience with any third party installers. This is why I just stuck with the less-than-ideal setup project; it beats spending a lot on expensive, ugly and often frustrating third party installer creation tools. In short, it's a very pragmatic solution, and pragmatic solutions make sense.
As for WiX: I really don't recommend it at all. It seems like a great idea, but after a few months I found myself switching back to the setup projects. Even though he's been using WiX for a year more than I have been using setup projects, our WiX expert takes twice as long to get anything done. (He's a terrific programmer, too, just a bit blinded by open source.) You end up with thousands of copied text lines that you need to maintain. With a couple different projects, it becomes an unmaintainable mess.
I would not suggest attempting to build an installer in Qt yourself. In addition to having to get a lot of behavior just right, as a Qt application it will require the Qt libraries. Unless you statically link them, which is possible with the commercial edition (not LGPL) but difficult and not recommended. Plus then you'd be including two copies of the Qt libraries in your download.
Qt itself seems to use the nullsoft installer. That alone should tell you building your own is not a good idea. :)