Respect the author, support original, if need reprint, please attach original address: http://blog.csdn.net/libaineu2004/article/details/62423830
Preface
Considering that programmers do not have desktop Linux in the environment to write C/T + + programs, if the use of raw vim editing and one-step breakpoint debugging more trouble, not conducive to novice use, so I tried to use QT to achieve two Linux remote deployment and debugging. That is, the programmer is debugging the computer using QT to
Modify C:\qt\qt5.4.0\tools\qtcreator\share\qtcreator\templates\wizards\plaincppapp\qmake\project.proc:\qt\qt5.4.0\ Tools\qtcreator\share\qtcreator\templates\wizards\plaincapp\qmake\project.pro Add two lines
CONFIG += c++11
QMAKE_CFLAGS += -std=c99
Other C:\Qt\Qt5.4.0\Tools\QtCreator\share\qtcreator\templates\wizards\The. Pro file below makes similar changes and should enable other projects to turn on C++11 and C99 support by default, which I have not tested.From for notes
Using JavaScript to get the URL of the current page is a complicated question, and if you think about it for the first time, many people are wondering what kind of javascript function it is.Actually, the function that JavaScript gets the URL of the current page is the window.location.href that we often use to redirect.For example, the following function:
If the URL of the current page is http://localhost:6666/myphp/mobile/pc1.php, then it runs as follows:The above function shows h
/5.7gcc_64/binDownload Fcitx-libs Source: https://pan.baidu.com/s/1nuS2emd, compilingCD Fcitx-qt5cmake. Makesudo make InstallWill encounter the following errorTo resolve the above error download EXTRA-CMAKE-MODULES_1.4.0.ORIG.TAR.XZ and unzip, https://pan.baidu.com/s/1skZL3Oh after decompression, enter the following command:CD Extra-cmake-modules-1.4.0cmake. Makesudo make InstallThe compiler will have the bottom-up error when you finish solving theResolve the above error needssudo apt-get instal
= "Com.yiibai.customer.services.CustomerService" > class= "Com.yiibai.aop.HijackAroundMethod"/> class= "Org.springframework.aop.support.NameMatchMethodYiibaicutAdvisor" > Beanclass= "Org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator" > XmlNow, you can get the bean by the original name of "CustomerService", if you know that the bean has been proxied.= (CustomerService)appContext.getBean("customerService");Java2. defaultadvisorautoproxycreator ExampleThis DefaultAdvisorAutoProxy
Recently, opencv is used for image processing. Many people on the internet use Vs and opencv, but they do not like vs very much and want to use QT creator. I searched a lot of materials online and finally spent a day using opencv on QT creator.
Required Software: (1) Qt creator. My version is 4.8.5. This version is still installed when learning the QT
This blog mainly records three aspects.
1. The configuration of QT Creator in Linux is based on the work of the previous two articles, and some details are configured.
2. Run the applets on the desktop and the Development Board respectively to verify the cross-platform features of QT.
3. Install the development environment in windows. This part is based on QT creator and has the work in Linux. This part is
After QT and QT creator are installed, the QT creator shortcut icon is generated on the desktop.
1. Double-click the QT creator shortcut icon to enter the QT creator integrated development interface, as shown in figure 1.
Figure 1 Welcome To The QT creator integrated
The core idea is to separate a "construction algorithm of complex object" from its "component and assembly mode", so that the component algorithm and assembly can be independently changed, and the same building algorithm can be used to create different representations, and the different construction processes can reuse the same assembly method.Main advantages and disadvantages in the creator mode, the client is no longer responsible for object creatio
1. QT Creator Project Management (a project package with different types of files)(1). Pro Project file(2). Pro.user User Configuration description file(3). h header File(4). cpp Source Files(5). UI Interface Description File(6) Resource files (Pictures, audio, etc.)2.. Pro Project description file2.1. Pro the basic composition of the project description file(1) #: Comment Start character(2) QT: module declaration(3) TARGET: executable file name(4) T
Creator Mode BuilderThe creator pattern is to separate the construction of a complex object from its representation, so that the same build process can create different representations, while the client does not have to know the object's build details. You can use the Creator mode when the system needs to create a complex set of objects, and this complex object i
Sometimes need to compile QT Creator, need to note is the Qmake version of the problem, such as I use 4.8.1 and 4.8.6 also compiled QT Creator in the same qtconfig-qt4 under the effect is not the same.In addition, if you download the official pre-compiled version, you can see "About QT Creator" here, they are using QT 5 version to compile a new QT
Now with the installation combination: QT Creator (2.6.2) + MinGW (online installation) + QT (4.8.6)Install the mingw First, then install QT, then install QT Creator, after installation, the construction is not available, but also to set Oh! My machine is Win7 i3 64-bit installation is installed according to 32-bit.1. QT:: Error: Can't open file "D:\Qt\2010.05\qt\lib\qtmaind.lib" I had this problem today. T
Builder pattern (English: Builder pattern) is a design pattern, AKA: Build Mode, is an object building pattern. It can abstract the construction process of complex objects (abstract category) so that different implementations of this abstract process can construct objects of different manifestations (attributes). ----WIKIPEDIAPersonal Understanding:The builder mode can set different properties or behaviors to create objects that are not the same. For example, the production of automobiles, if th
Through the use of Qt Creator, we can quickly design the interface with designer (interface designer).This example UI content is as follows (simply adding a button):The code directory structure of the project is as follows:Eventually a UI file is generated in the directory where the project is located:This UI file is actually an XML file:when we compile QT program code, QT Creator uses the UIC tool to conve
More use of shortcut keys can significantly improve productivity, minimize the keyboard, the mouse to switch between the wasted time. I am here to list the Qt Creator shortcut keys that I think are important to master. See how many you know?.
1. CTRL (Press and hold) + TAB to quickly toggle open files
.
2. Quick Add method Entity (. cpp) Declaration,
Move the cursor to the method declaration in the H file. Press Alt (pres
In Windows, debugging problems may occur when QT creator is used for development. How can I perform one-step debugging in QT creator?The development process in vs is a little different. In QT creatordang, msvcis compiled and used, but cdb.exe is used.Because cdb.exe is part of debugging tools for Windows, you need to download microsoft's debugging tool.
: Http://msdn.microsoft.com/en-us/windows/hardware/gg4
There seem to be many posts that output Hello World on the network, but the dark Console window is used in QT creator to createProgramIt should be rare. After all, QT is good at Gui programming.
Today, we will use QT Creator as an IDE line to try the dark console programming method, this method is not much different from the IDE console method such as vs2008/2010 (on the interface ).
1. Di
Win7 + Creator 2.0.0 + protobufjs 6.8.81. Download and install ProtobufjsInstall -G protobufjsYou can see that PROTOBUFJS is installed in C:\Users\Administrator\AppData\Roaming\npm\node_modules\protobufjs2. Locate the Protobuf.js file in Protobufjs\dist and drag and drop it into the creator as a plugin (note that it must be selected as a plug-in, and four options must be checked, otherwise it will be an err
Yesterday the Linux system collapsed and today the Linux system (Ubuntu16.04) was installed. After the QT creator was installed, a simple C + + project was created to test whether the installation was correct and the project defaults to output "Hello world." ", run through, normal output. But there was a warning in debug (though it could also output "Hello world". "): Debugging Starts " warning:GDB:Failed to set controlling Terminal: ..... Search the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.