

The advantage of using pgModeler is that it supports unique PostgreSQL features as well as entity-relationship diagrams. If anyone happens to discover other packages that are required that I already had installed, please comment on this answer and I'll be happy to edit it.PostgreSQL Database Modeler (pgModeler in short) is an open-source solution designed for creating and shaping PostgreSQL databases. The SVG module for QT is required libqt5svg5-dev provides this.Test this on the command line with qmake -v and verify that it says it's using QT5.pgModeler must be built with QT5, so installing qt5-default gets you QT5 development packages and sets it as the default QT version.clang is the compiler used in the pgModeler build process.libpq5 and libpq-dev are the PostgreSQL development libraries.The PostgreSQL stuff at the beginning is obvious but I figured I'd mention it anyway.
PGMODELER CREATE VIEW INSTALL
sudo apt-get install postgresql-9.3 postgresql-client-9.3 libpq5 libpq-dev clang libxml2-dev qt5-default libqt5svg5-dev The tutorial link in kamarkiewicz's answer goes nowhere now, so I'll just post here what I think is the complete list of packages you'll need to do the build in Ubuntu. My english leaves a lot to be desired, so please send me some corrections. I was left with only type qmake pgmodeler.pro & make & sudo make install in a terminal and wait for end of the process. Next I just needed to specify path to new Qt libraries by adding to my PATH in /etc/environment ( ~/.bashrc is also a great place for it) $QT_DIR/Tools/QtCreator/bin and $QT_DIR/5.4/gcc_64/bin (those are in my case, you might change it to similar ones). I've just downloaded Community version and followed the instructions.

In Linux Mint's repo there was Qt4 version only, so I had to install Qt5 using installer from official Qt site. Next I've downloaded newest version of pgModeler from Sudo apt-get install libpq-dev libxml2-dev I followed this tutorial: įirst I've installed some required packages using apt: I had almost same issue on my Linux Mint 17.1 (圆4). How do you compile pgModeler? At this moment I cannot help you more than just describe my case. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:113: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:112: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:111: defined(function, type): unexpected type.

Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:110: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:109: defined(function, type): unexpected type.

Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:108: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:107: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:106: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:105: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:104: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:103: defined(function, type): unexpected type. Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:24: defined(function, type): unexpected type. I typed qmake pgmodeler.pro in binary folder, and got the following error: /Users/****/Applications/pgmodelerunzip/pgmodeler-0.8.1-beta/pgmodeler.pri:21: defined(function, type): unexpected type. I got problem while compiling pgmodeler on Mac.
