Qt Mingw Build

exe -Wl,--out-implib,liblmms. The heart of the Mingw-w64 project is headers and support libraries to run the output of GCC on Windows. + # MinGW specific patches + # When building Qt as static library some files have a different content # when compared to the static library. You can follow the instructions below to build Qt 5. Now, considering the fact that I have never used qt before, I just did what the last parts of the tutorials said (the parts after cmaking the libraries and building them). 1 as an example (for historical reasons), you can also find suggestions on building newer versions of Qt by MSVC 2012 and even by Intel Compiler for both platforms x86 and x64. 12 pre-built binaries provides a 64bit build for MinGW. Building and Installing ACE on Win32 with MinGW/ MSYS. x when the newest Qt-4. They assume you created a folder for your project (probably a copy of one of the examples), with your sources and a myApp. 7) Offline Installer download. There are several solution for obtain the same result. When I tried to build QtWebKit in debug mode, the linker ran out of memory when it linked QtLauncher. Building ITK with Mingw-w64. pyqtlicense assumes that the Qt installation has been created from one of the LGPL or commercial binary installers provided by The Qt Company. GNU Bison: a parser generator (similar to lex and yacc). 7 with MinGW on Windows 10 (32bit). Qt supports MinGW as a platform on Windows in addition to Visual Studio compiler by Microsoft. To create an installable setup, you need NSIS- a open source system to create Windows installers. It is important to use the same version of compiler that library was built. 1 there are also binary installers that ship a Mingw-w64 based toolchain + pre-built Qt libraries. I only tested the static variant using native OpenGL so far (mingw-w64-qt5-base-static). In short, SCons is an easier, more reliable and faster way to build software. Assuming that you have taken care of all the requirements, you can …. MySQL Server 5. You will have to point out the qmake. LLVM Download Page The major changes and improvements that the development version contains relative to the previous release are listed in the Release Notes for CLion works with CMake, Gradle C++ and compilation database project models, using all the information from there during code editing and refactorings. Installation should be similar if you use a different version of Windows or a different version of Qt. MinGW Compilers and Tools. Then build the same version of Qt for Linux - you will need the tools (qmake, uic, moc, etc. 9 LTS, Qt 5. The add-in contains project wizards, Qt project import/export support, integrated Qt resource manager and automated build setup for the Qt Meta-Object Compiler, User Interface Compiler. exe, because a Windows process can only use 2 Gbs of memory. Step 4: Build the Qt Library. Crash Reporting For MinGW 32 (Windows) and Clang (macOS) With Qt I recently had a customer describe some very random crashes with my software. Also delete the "build" folder for your project. if you see the following output as shown in the picture below the mingw is installed successfully. However, for __stdcall functions, the above method does not work. Get project updates, sponsored content from our select partners, and more. 12 (and therefor in 64bit mode, since Qt 5. To create an installable setup, you need NSIS- a open source system to create Windows installers. More details can be found in the ld. Compiling QT applications and libraries. 1 on Windows That's why I've decided to build it my way. If the package reach upstream you will not need to build it anymore in order to use it but you can simply install it by doing: pacman -S mingw-w64-x86_64-package-name; As an example installing gedit on Windows it is just a matter of installing msys2, update it and run “pacman -S mingw-w64-x86_64-gedit”. 12 was developed with a strong focus on quality and is a long-term-supported (LTS) release that will be supported for 3 years. I have used MSVC2010 in this example but it should be the same for any compiler version from 2005 to 2015 (Visual Studio 2005 (8. The mingw-prefix is exclusive for RPM spec file names and the source RPM file name. This issue has already been resolved in Fedora 17 and rawhide (which use the new mingw packaging infrastructure and the mingw-w64 toolchain). If you want to install Qt 5 to a separate location, you need to specify the command line option -prefix. Install MinGW. This projects aims to provide only x64 variant of Qt5 library and its dependencies. Qt is the faster, smarter way to create innovative devices, modern UIs & applications for multiple screens. Building and installing ACE on MinGW uses a mix of a UNIX building process and Win32 configuration files. 6 so in your boost file is a file called stage and inside that lib look here and make sure you see files that look like libboost_chrono-mgw46-d-1_55. Exiv2: Building on MinGW. Introduction. More details can be found in the ld. I think in near future all MSYS functionality will be added to Cygwin sources directly and we don't need anymore to create MSYS. This means, if we want to compile an application for 32 and 64 bits with MinGW-w64 5. Build a static version of Qt using the MinGW compiler in the pre-built dynamic environment. To enable DirectX support in Qt, you'll need to setup the DirectX SDK's environment variables before the Qt configuration step: c:\Qt>\DXSDK\Utilities\bin\dx_setenv. 1) Download and install Qt 5. When it's done, you need to install a couple of packages (64-bit or 32-bit) that Scopy depends on:. However, if you want to build Qt itself for Symbian, follow the instructions below. Also select toolchain MinGW: Remember directory, where MinGW was installed. I have one more problem with MinGW-3. Build Tesseract-OCR 3. To resolve this you can use the following command: qmake-qt4 -spec win32-g++-cross. I solved my problem now. Generally, mingw32-gcc works marvels for linux-to-win32 cross-compilation and I've been using it some time ago for GTK apps. FFmpeg can be built with MSVC 2012 or earlier using a C99-to-C89 conversion utility and wrapper, or with MSVC 2013 or later natively. Also this installer has g77 which is no longer a part of GNU compiler suite, its replaced by fortran95. Step-by-step guide to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension This is not typically a question where to find a step-by-step guide, but rather the guide itself. To build the connector and examples you will need to download following tools. This article explain you how to prepare a Qt build environment with using of MinGW-w64 toolchain on Windows operating system. For instructions for building the Qt 5 source, read the Qt for Windows - Building from Source page. Installation should be similar if you use a different version of Windows or a different version of Qt. 1) Download and install Qt 5. (Solved) Building Qt5 with mingw64 on windows 7 64Bit (Solved) Building Qt5 with mingw64 on windows 7 64Bit People have managed to use MinGW to build 64-bit Qt 5. This page gives a quick explanation of how to install MinGW and OpenGL so that programs that use OpenGL + GLUT can be compiled and run under Windows. opencv mingw mingw32 windows opencv-library build cmake qt codeblocks opencv-mingw dll 20 commits 12 branches 11 releases. 2 For Windows 32-bit (MinGW 4. In this blog post, we describe how to build ITK with the Mingw-w64 compiler. I'm Ruben, a long-time contributor and 3-ish year toolchain builder for MinGW-w64. Get project updates, sponsored content from our select partners, and more. In my case I downloaded Qt Creator 2. 6 branch, but a mingw-w32 toolchain (builds 32-bit apps) should have no problem with the official 4. If you want to go the manual route you can also install MinGW yourself (follow the instructions on the MinGW website). But since the CLI is single threaded, we could instruct SQLite to build in a non-threadsafe mode and thereby omit the pthreads library:. Getting Started: Building and Running Clang. log file created by qmake. Pushed a Qt. Install mingw-get-setup. Get the SourceForge newsletter. net provides a list of OSes and their compiler predefined macros. Build Tesseract OCR library 3. MingW needs to be installed to C:\mingw, or CDT does not detect it. ) Install the static version of Qt in C:\Qt\Static by default. I built and used cmake on DeLi Linux with no issues, but every time I try it on Windows, I seem to have problems. Threading Building Blocks (TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance, that are portable and composable, and that have future-proof scalability. Although I had to change Qt source code, it was only one line of code in the current source tree of qt-mingw-w64. The 'MingW Shell' (Start/Programs) provide tools like bash, sed, grep, vi. je viens d'installer migrer vers Qt mais j'ai un souci avec le. Alternatively, the command line option -developer-build creates an in-source build for developer usage. Code::Blocks is a free C, C++ and Fortran IDE built to meet the most demanding needs of its users. The -prefix clauses specifies the destination directory for the resultant Qt development kit. cpp" demonstrates calling the DLL's functions:. FFmpeg can be built on Windows with Visual Studio. Use the same MinGW version for building that you use on Linux! go the adventurous road and cross-compiler Qt, see Part 2 of this series. Select: File → Open file or project. We will install the Open Source version of Qt 5. 1) Download and install Qt 5. This is the instruction for building Windows 32-bit version of Stellarium using MSYS and Qt5/MinGW. Qt team want to make their program appear as professional as Microsoft Visual Studio. Step-by-step guide to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension This is not typically a question where to find a step-by-step guide, but rather the guide itself. Since there isn't much information out there, I could only base my tries on this tutorial. Previously I tried it with the PATH MinGW dirs in front, but I'll have to redo that test, now that I have more Qt dirs. I have one more problem with MinGW-3. -DCMAKE_BUILD_TYPE=Release -G Ninja -DPORT=Qt -DCMAKE_PREFIX_PATH=c:\msys64\mingw32 -DENABLE_API_TESTS=OFF -DENABLE_TEST_SUPPORT=OFF ninja QtTestBrowser. c++,qt,qt4,qt-creator,qtwidgets. 7 using MinGW-w64 (Nov 12, 2010) I successfully built 64-bit Qt libraries using MinGW-w64. 1 Installer for Windows) Android NDK (I used the latest version which is r15c but I assume some of the earlier versions will also work, you need to try this for yourself if you’re curious). It adds MinGW bin directory to the PATH environment var. Select MinGW-> MinGW Libraries-> Mark mingw32-pthreads-w32 dev package. Download and install MinGW C++ compiler. exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e) (I presume your addresses may vary, and I was building the "textobject" sample from the Getting Started screen. 5 under Linux. 1\mingw\bin) Set the Tool Collection Name to MinGW_Qt and click OK, then click OK in the Options dialog box. e on Windows the Qt Creator is usually built with a MSVC compiler - even if included in a MinGW package ! To help Qt Designer/Creator with locating the Qwt Designer plugin you have to set the environment variable QT_PLUGIN_PATH, modify qt. Naturally I rushed to try it. 1\mingw\bin) Set the Tool Collection Name to MinGW_Qt and click OK, then click OK in the Options dialog box. Also select toolchain MinGW: Remember directory, where MinGW was installed. GCC is portable and run in many operating platforms. Compilation with libQGLViewer These instructions assume that you have installed Qt and libQGLViewer. Download and install MySQL Server Make sure that /bin directory is in system path. At its core is an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility layer) and MinGW-w64 with the aim of better interoperability with native Windows software. Replace the code of the main. For more information, see the File Exchange article "MATLAB Support for MinGW-w64 C/C++ Compiler". 7) Offline Installer 649. 2 For Windows 32-bit (MinGW 4. )_ - __Run the project. Build and install Qwt lib for Qt 5. exe will automate the download and installation process for you; Add the full "MinGW\bin" path to the Windows PATH environment variable. I didn't find good step-to-step tutorial, so here is mine. If you've tried to profile Windows apps built with a MinGW toolkit you've likely run into a couple of problems. Ну для начала официальный проект MinGW не выпускает компилятор x64, а только x86 - поэтому он Вам и не предлагает установить то, чего нет ;-). I am using Visual C++ 2010, Boost Library, and Qt (of course, with some other libraries such as OpenCV, but they are not relevant). One of the major changes when using CMake with Qt is the result of increased modularity in Qt itself. To actually compile C++ programs, you need a toolchain containing those. 6 months ago and failed, but I believe that current situation of Qt 4. Due to the new modular nature of Qt 5, various major Qt components are now in different tarballs. Download and install the build environment. Installing Qt Creator and MinGW - Duration: 6:30. Make sure that Qt version does not say Invalid Qt version, but has a valid entry, such as for instance Qt 4. The Qt build then needs to be configured for cross-compilation using MinGW. On Fedora 17 we use a mingw-qt source package which provides a noarch mingw32-qt binary package and an arch-specific mingw32-qt-qmake binary package. This enables developers to use the standard Windows development environment without having to worry about Qt-related build steps or tools. Download and install MinGW C++ compiler. The Qt VS Tools allows programmers to create, build, debug and run Qt applications from within non-Express versions of Microsoft Visual Studio 2013 and later. For now is far from being as powerful as qmake and is still rather GNAT-centric, but it should evolve in a full-featured, flexible building utility. I only tested the static variant using native OpenGL so far (mingw-w64-qt5-base-static). Executive Summary. I use MinGW version 4. Welcome to our Qt Resource Center! We hope you find something interesting to read, watch and share. Personally I chose to use the Qt Creator and the provided MinGW compiler, than this tutorial will be based to reach the result using these tools. Download and install MySQL Server Make sure that /bin directory is in system path. Get notifications on updates for this project. Compilers Visual Studio. If you want to install Qt 5 to a separate location, you need to specify the command line option -prefix. Well, we’ve to build already quite a number of packages, and therefore do not want to provide both a 64 bit _and_ a 32 bit version. Installation should be similar if you use a different version of Windows or a different version of Qt. dir\objects1. However you need to use the MinGW build of the exiv2 libraries to work with the Qt/MinGW libraries. If you download a zip archive then just unpack the MinGW files in folder of. so file generated from MinGW, should in fact be named. If you want to build kdeedu as a hole package, add:. I am working here with version 4. In this tutorial, we are going to build them ourselves. 7 using MinGW-w64 (Nov 12, 2010) I successfully built 64-bit Qt libraries using MinGW-w64. MinGW is distributed together with Qt Creator and Qt installers for Windows. Build Qt for Android with MinGW; If this is your first visit, be sure to check out the FAQ by clicking the link above. There should never be a package prefixed with mingw-output during a build. By now, you have everything Qt4 needs to build MySQL support but Qt does not know where to find it yet. Both release and debug builds are provided. The mingw-prefix is exclusive for RPM spec file names and the source RPM file name. msys /mingw you may need to build boost to match the version of mingw. The official guide is quite clear, but a little bit out-of-date. org Project. But since the CLI is single threaded, we could instruct SQLite to build in a non-threadsafe mode and thereby omit the pthreads library:. 02 with Qt 5. 1) Download and install Qt 5. This “extra” generator may be specified as: CodeBlocks-MinGW Makefiles Generate with MinGW Makefiles. However, if you want to build Qt itself for Symbian, follow the instructions below. Just install the packages mingw32-qt-qmake or mingw64-qt-qmake. 2 from sources using MinGW, and statically. This is the instruction for building Windows 32-bit version of Stellarium using MSYS and Qt5/MinGW. I guess you’re talking about a 64 bit MinGW build (because we’re using actually a MinGW-w64 based MinGW). If you want to install Qt 5 to a separate location, you need to specify the command line option -prefix. Get the SourceForge newsletter. It is important to use the same version of compiler that library was built. Windows/Build/MinGW Build Tips < Windows‎ | Build. Assuming that you have taken care of all the requirements, you can …. 1 on Windows That's why I've decided to build it my way. Open source libraries are often supplied in Visual C++ and MinGW compilation variants. Getting Started: Building and Running Clang. The default for MinGW gcc prior to version 4. MinGW-w64 is a build env for 64bit and/or 32bit Windows application. It builds moc, qmake and other host tools. It supports building from both Windows and Linux systems and provides many pre-built libraries which can be installed through a graphical package manager. When I tried to build QtWebKit in debug mode, the linker ran out of memory when it linked QtLauncher. CMake is a cross-platform build tool that tremendously simplifies building C/C++ code with different compilers on different platforms. I guess you're talking about a 64 bit MinGW build (because we're using actually a MinGW-w64 based MinGW). My application builds just fine under Linux, but if I build in Windows, the app always opens a console window at startup. 3 for mingw32, both directly from nokia. The default behavior of configure is to create an in-source build of Qt 5. Download Qt and install it. Preparing Mingw-w64 compiler. Note: The Qt SDK comes with MinGW bundled. a file you generated with the previous command and put it in the mingw directory, under the lib subdirectory. Merge those changes manually. Crash Reporting For MinGW 32 (Windows) and Clang (macOS) With Qt I recently had a customer describe some very random crashes with my software. Building codec2 for Windows using Cmake and MinGW I want to build and use codec2 library in my Qt application for Windows. Note: The Qt SDK comes with MinGW bundled. I solved my problem now. This projects aims to provide only x64 variant of Qt5 library and its dependencies. Now, considering the fact that I have never used qt before, I just did what the last parts of the tutorials said (the parts after cmaking the libraries and building them). Naturally I rushed to try it. Now my problem is that my project uses some includes from mingw and the. pre-compile Qt on Windows, this is much more stress free, since Qt builds some tools it needs for building first. Exiv2: Building on MinGW. exe, because a Windows process can only use 2 Gbs of memory. 7 using MinGW-w64 (Nov 12, 2010) I successfully built 64-bit Qt libraries using MinGW-w64. 7 is much better. Now with the recent release of Qt 5. Install mingw-get-setup. mingw-w64-qt5-base-static or mingw-w64-qt5-base-angle-static. Win32Compile. All the necessary tools are already installed. Recommended Tools. Windows/Build/MinGW Build Tips < Windows‎ | Build. You can follow the instructions below to build Qt 5. At its core is an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility layer) and MinGW-w64 with the aim of better interoperability with native Windows software. Codec2 is incredible library for speech processing it can encode speech from 3200 up to 700 bit/s. MinGW is the "Minimum Gnu on Windows" system. The official guide is quite clear, but a little bit out-of-date. Both release and debug builds are provided. Building codec2 for Windows using Cmake and MinGW I want to build and use codec2 library in my Qt application for Windows. org page suggests current stable release is 4. I've downloaded MinGW and the commercial Qt sources for win32. Step 4: Build the Qt Library. MinGW (Minimalist GNU for Windows) is a native software port of GCC and GNU Binutils for use in the development of native Microsoft Windows applications on Windows. 7 with MinGW on Windows 10 (32bit). dll if they have a different number just follow the directions in section i #10. Either the LGPL or commercial versions of Qt may be used. How to Build Qt for Any Board. opencv mingw mingw32 windows opencv-library build cmake qt codeblocks opencv-mingw dll 20 commits 12 branches 11 releases. Next Install the 64-bit Qt 5 packages using MSYS2's pacman by running pacman -S mingw-w64-x86_64-qt5. Because of this, linking in designer plugins is not a supported use case. 02 Source code Tesseract OCR 3. The heart of the Mingw-w64 project is headers and support libraries to run the output of GCC on Windows. 4: Steps: 1. Qt for the Symbian platform has some requirements that are given in more detail in the Qt for the Symbian platform Requirements document. MinGW is a native Windows port of the GNU Compiler Collection (GCC), with freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. Leptonica is quite tedious to build for Mingw because of all its dependencies. Currently this is mostly to assist for the mingw cross compiled qt-ros packages which need to fix some faulty logic in cmake versions < 2. Source: Building a static Qt for Windows using MinGW. 0 source using Mingw-w64. txt with Qt Creator(Qt5 built with mingw), run cmake and build mupdf-qt. com/public/mz47/ecb. Windows Installation (tested on windows 10 Education) - 64bit A. pyqtlicense assumes that the Qt installation has been created from one of the LGPL or commercial binary installers provided by The Qt Company. More details can be found in the ld. Modify the build configure target to Release (not Debug) and change the properties of the projects to be '/MT' multithreaded static builds. Dx x86 host enviroment is now enabled. 02 with MinGW and CMake. All the magic is in the linking stage during app build, where it gets transpiled into webassembly. About residual (and OT) question: Did you search "Cygwin vs MinGW" on the net ? Using Cygwin your applications will have POSIX substrate with pros and cons. dll file under the lib folder. 4 for Desktop - MinGW 4. Tesseract ocr 3. Qt SDK provides all the necessary tools and libraries for developing Qt applications. The point of all this being--any file that you would call a. 0 ( NokiaSDK ). TÜV NORD certifies that you can use Qt to build functionally safe embedded systems. Starting with Qt 5. Use the same MinGW version for building that you use on Linux! go the adventurous road and cross-compiler Qt, see Part 2 of this series. This is the similar procedure used to build OpenCSG, so refer to those instructions above for more detail. Centos 7 qmake qt5. Qt can be built with Visual Studio 2015 (Update 2), Visual Studio 2017, and Build Tools for Visual Studio 2017 (see also Supported Platforms). Unfortunately, they forget what makes their program popular in the past. You may have to register before you can post. Merge those changes manually. 7 dropped support of MSVC versions < 2013 (see Qt Documentation) and thus Windows SDK versions < 8, same could be done for MinGW-W64. Preparing Mingw-w64 compiler. Tesseract ocr 3. For more information about the MinGW builds, visit the Reference Configuration section of the supported platforms page. Note: The Qt SDK comes with MinGW bundled. Make sure our project has the correct platform specified. I've found the source of my troubles. Leptonica is quite tedious to build for Mingw because of all its dependencies. I am building QT 5. I follow steps. The 'MingW Shell' (Start/Programs) provide tools like bash, sed, grep, vi. You can now delete the wxWidgets source & build folder wxWidgets- inside C:\mingw\ if you like, it is taking up about 1GB and you won't need it to compile applications for wxWidgets. The appropriate make program can build the project through the default make target. 1 with MinGW-builds 64-bit several times but it always failed. Download and install MinGW C++ compiler. indigo kinetic lunar melodic Show EOL distros:. haha,my dear friend,your problem is the same to me and i solved it. I am working here with version 4. The default behavior of configure is to create an in-source build of Qt 5. I am working here with version 4. Hello, Iam using QT 5. cmd AMD64 Dx x64 target enviroment is now enabled. php(143) : runtime-created function(1) : eval()'d code(156) : runtime-created. This should get you up and running with the minimum of muss and fuss. Because of this, linking in designer plugins is not a supported use case. Build Tesseract OCR library 3. This tutorial shows how to setup the VisualGDB MSBuild backend to build Qt-based projects. 3 for mingw32, both directly from nokia. However, some tools are more popular than others. 7) Offline Installer 649. I did happen to notice at least two DLLs (mingwm10. Статическая сборка Qt MinGW (памятка) По ману взятому тут. To resolve this you can use the following command: qmake-qt4 -spec win32-g++-cross. Operating Systems at Sourceforge. Download Latest Version mingw-w64-install. Win-builds is a cross-platform project that makes building for Windows easy. Open the Projects tab and ensure the build directory points to the path where qjson source code is located. The deprecated but required QtWebKit for GammaRay is not building with Qt 5. How to use OpenCV with with Qt MinGW on Windows Platform? Embedded Laboratory. Mark all the packages inside Basic Setup. After the downloads are finished, install Qt & Qt Creator and go to the next step. Add C:\MinGW\bin to your. The -prefix clauses specifies the destination directory for the resultant Qt development kit. Length 60min. Ну для начала официальный проект MinGW не выпускает компилятор x64, а только x86 - поэтому он Вам и не предлагает установить то, чего нет ;-). -DCMAKE_BUILD_TYPE=Release -G Ninja -DPORT=Qt -DCMAKE_PREFIX_PATH=c:\msys64\mingw32 -DENABLE_API_TESTS=OFF -DENABLE_TEST_SUPPORT=OFF ninja QtTestBrowser. Next Install the 64-bit Qt 5 packages using MSYS2's pacman by running pacman -S mingw-w64-x86_64-qt5. If you want to install Qt 5 to a separate location, you need to specify the command line option -prefix. The problem I encountered was a conflict of exception models of MinGW w64 and Qt. c++,qt,qt4,qt-creator,qtwidgets. Note! This build is not a static build meaning that you need to include all of the dlls with the exe in order to use it. I have one more problem with MinGW-3. Setting Up Qt for NetBeans IDE on Linux or Mac OS X Platforms. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: