Comments (8)
I've been using WtDesigner on my Ubuntu16.04 for a few months now. Apart from a few hickups it works great for me (thanks Juan).
Here's how I installed it (also guided by Juan's personal installation notes):
- install required packages:
sudo aptitude install libboost-all-dev postgresql libpq-dev libpango1.0-dev libssl-dev build-essential cmake libqt5webkit5-dev
- download & extract wt-3.3.5-rc2
- build & install Wt:
cd <projects/wt-x.x.x>
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
- get WtDesigner sources, configure, build & install (on Ubuntu desktop):
cd <projects>
git clone https://github.com/juangburgos/WtDesigner.git
cd WtDesigner/src/main
qmake -qt=5 -spec linux-g++
make all
ln -sv ../../bin/WtDesigner/WtDesigner WtDesigner
ln -sv ../linux_extras/WtDesigner.sh WtDesigner.sh
WTDESIGNER_PATH=`realpath ../../`
sed -r "s,\{UNKNOWN_PATH\}/WtDesigner.sh,${WTDESIGNER_PATH}/src/main/WtDesigner.sh," ../linux_extras/WtDesigner.desktop | sed -r "s,\{UNKNOWN_PATH\}/WtDesigner_logo_linux.xpm,${WTDESIGNER_PATH}/rec/WtDesigner_logo_linux.xpm," > ~/Desktop/WtDesigner.desktop
chmod +x ~/Desktop/WtDesigner.desktop
from wtdesigner.
Hi,
I personally have not tested WtDesigner in Ubuntu 16.04, but form the error you are getting it would seem that you are having some library clashes. WtDesigner, or more specifically Wt, has boost as a dependency. It requires an specific version of boost to run. It would seem that your system is trying to load a different version to what Wt requires.
WtDesigner ships with the corrrect version of boost it requires to run, but for some reason your system is trying to load the other one you have installed. What I would try is to modify the WtDesigner.sh file that must be installed wherever you have installed Wt.
I would try to change the order in which the LD_LIBRARY_PATH is defined, see if that helps. I.e. change line 8 of WtDesigner.sh:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$dirname
for:
LD_LIBRARY_PATH=$dirname:${LD_LIBRARY_PATH}
See if that helps. Else I wouldn't know what other thing to do.
Good luck.
from wtdesigner.
from wtdesigner.
Hi,
Again it seems from your errors that you do not have installed the correct Wt dependencies. To compile the project generated by WtDesigner, first I would make sure that I can compile a simple Wt hello world example from their official website and then try to build the project generated by WtSigner.
Now if you want to build WtDesigner form scratch, that is a different animal. I have some notes I made for myself, maybe they can help you.
But beware I might not be able to help you further than that if you run into specific issues in your system.
If you really want to build WtDeisgner yourself, let me give you am advice. Try to do it in a clean virtual machine, this way you make sure you do not get library clashes with existing installations in your system.
best of luck
from wtdesigner.
Thanks for sharing your solution! Lets see if it helps Yair.
from wtdesigner.
from wtdesigner.
I've followed pirx08 steps. But Wt 3.3.7 and qt5 already installed and good to build WtDesign against it from qtcreator 4.3.x, I now have WtDesigner icon on my linux (Archlinux:KDE Desktop (plasma in folderview mode) and I now understand (realize) how WtDesigner is ...more than a click'n drag Designer... :)
Thank you friends.
- bretzelus
(Serge Lussier)
from wtdesigner.
Close
from wtdesigner.
Related Issues (20)
- Code for WGroupBox title not generated correctly HOT 1
- Build Instructions HOT 1
- differences between windows and linux for the tutorial design HOT 3
- JavaScript Error HOT 8
- Change default template when open HOT 6
- Root rights HOT 3
- Qt Creator plugin
- Content Aligment?
- Wt 4.0 Support HOT 1
- is WtDesigner Maintaining? HOT 1
- Wtdesigner problem HOT 1
- Which version of vcredist? HOT 1
- Linux build instructions HOT 1
- Panel titles missing quotes HOT 1
- Crashes on Linux HOT 13
- Remember previous projects HOT 2
- Generated ui_xx.h should include WApplication HOT 1
- Getters for UI-elements in generated UI-class HOT 2
- Crash on linux during shutdown HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtdesigner.