Koen, one more thing, our RPi installation uses Lighttpd as the web server, not Apache. Is that a problem?
26. feb. 2014 kl. 17:25 skrev Tor Arne Fallingen <fallin...@gmail.com>: > Hey Koen. > > I am using Wt 3.3.1, but I looked in my /Wt/Dbo/backend directory, and I > expected to find MySQL there but it isn’t there. Also there is no «resources» > folder anywhere to be found under /Wt. I guess you can read all about my > installation in the Issues section. > > To give you some background to why I might come across a bit green and > demanding.. Im studying electronics engineering and we are in our last > semester now, doing our Bachelor project for a company who specializes in > selling equipment to calibrate the ils and automatic landing signals for > airports. They are looking for a cheaper option for a GPS rover than the > current Trimble option. We are trying to develop proof of concept for such, > and for the handheld configurating unit we want to be able to use anything > that has an option of running a web browser. We could have used Html, php and > js. But were really novices in that as well, and we see huge potential in Wt > its convenience in integration of the web based gui into the whole system. > Today we had to sit down and decide wether we should proceed with Wt, being > that we have encountered a few hinders trying to install and use it on both > Raspberry Pi, MacBook and Windows 7. But the potential benefits of using Wt > outweights the ease in using "the easier to find tutorials and guides» option > of html, php and js. Even though I assume the company have to pay a licensing > fee if this goes to market. I also suspect that they might find Wt > interesting and might want to use it in more than just this product. > > So, the install I did on my MacBook Pro, I followed your description for > installing Wt on OSX Lion, and because Wim recommended installing everything > in custom libraries, not the system default. Thats what I did. I have rather > good control on whats in my Wt and Boost folders because of that. But I > suspect it gives me some problems when Im trying to run programs. Some run > fine, some dont. > On the Raspberry Pi I only installed the libraries suggested in the «cross > compile on raspberry pi» guide, and I can’t find any MySQL or Bootstrap > themes (Resources folder) there either. I suspect I should install more > libraries on the RPi, but I followed the «Installing Wt v3.3.0 on Debian > wheezy» first, and that just made my RPi stuck in a make process for hours. > After 4-5 hours I turned it off and proceeded to reinstall it completely, and > added the Cross compile libraries. This seems to have worked fine till we > tarted wanting to use MySQL and Bootstrap themes. > > Now I see you have released a Wt v3.3.2 and I am tempted to install that one > on my MacBook. I probably should look into installing a RPi Wt install again > tomorrow, but since you replied here, I was thinking I would ask advice from > you. How would you have installed Wt on a Raspberry Pi? I tried using the > «Installing Wt on Debian» guide today, but my sources list doesn’t look > anything close to what is displayed there, plus I could not login to the > Sourceforge repository; «public key missing»! > > For the MacBook, I wonder if I should install Boost and Wt 3.3.2, both to get > the new version of Wt and maybe also the MySQL and Bootstrap themes? I kind > of need them anyway. Also I wonder if I should install everything using sudo > to let the installation be placed into the system default folder? What would > you have done? According to Wim I would be able to switch between the > versions and also have full control over what is installed by having them > installed in custom directories, but I do seem to have a few bugs on trying > to link them correctly into my Qt Creator projects… I see the benefits, and > it is a smart way of remaining in control… But if I use sudo and custom > install, and you release a new version, will I be able to install the new > version and will that install overwrite the old files with the new ones? > > I know this is a lot of questions, but I really hope you will answer me, and > I hope for the continuing support of this community in trying to use Wt for > our project, which might entail me asking you people for help in doing things > when we are stuck. I am a novice in C++, but Im pretty familiar with java. I > know I could have used the JWt library, but everything else in this project > is written in C++, and the company we are doing this project for use C++ and > .NET, so using Java or Python just wasn’t that much of an option. > > Regards, > Tor > > > > 26. feb. 2014 kl. 15:45 skrev Koen Deforche <k...@emweb.be>: > >> Hey Tor, >> >> What version of Wt are you using? The mysql backend is included in Wt since >> release 3.3.0 (April, 8 2013) >> >> Regards, >> koen >> >> >> 2014-02-26 12:48 GMT+01:00 Tor Arne Fallingen <fallin...@gmail.com>: >> Im sorry Muhammad, but my Wt/Dbo/backend directory does not include any >> MySQL, only Firebird, Postgres and Sqlite3…. >> >> >> >> 26. feb. 2014 kl. 11:53 skrev Muhammad Nasser Al-Noimi <mnno...@gmail.com>: >> >>> Does the lwtdbomysql library come with the standard Wt installation? >>> Yes it comes with Witty. but its name may varry due to OS. >>> On linux its name is lwtdbomysql >>> >>> >>> On Wed, Feb 26, 2014 at 11:45 AM, Tor Arne Fallingen <fallin...@gmail.com> >>> wrote: >>> Thank you :) >>> >>> Ill get on with it now. Does the lwtdbomysql library come with the standard >>> Wt installation? >>> >>> Best regalrs >>> Tor >>> >>> >>> 26. feb. 2014 kl. 10:58 skrev Muhammad Nasser Al-Noimi <mnno...@gmail.com>: >>> >>>> Hi, >>>> >>>> If you want any detailed information about Wt classes you can visit the >>>> documentation: >>>> http://www.webtoolkit.eu/wt/doc/reference/html/index.html >>>> >>>> This link illustrates SqlConnection >>>> http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1Dbo_1_1SqlConnection.html >>>> >>>> >>>> Best regards, >>>> Nasser Al-Noimi >>>> >>>> >>>> On Wed, Feb 26, 2014 at 10:46 AM, Muhammad Nasser Al-Noimi >>>> <mnno...@gmail.com> wrote: >>>> Hi, >>>> >>>> Here you can find perfect example of how using database in Wt: >>>> http://www.webtoolkit.eu/wt/doc/tutorial/dbo/tutorial.html >>>> >>>> In order to access MySQL database you just have to use dbo::backend::MySQL >>>> class for connection instead of dbo::backend::Sqlite3. >>>> Also you should add this library to your project lwtdbomysql >>>> >>>> if you are using Qt Creator add this line in .pro >>>> LIBS += -lwtdbosqlite3 -lwtdbomysql >>>> >>>> Best regards, >>>> Nasser Al-Noimi >>>> >>>> >>>> >>>> On Wed, Feb 26, 2014 at 9:45 AM, Tor Arne Fallingen <fallin...@gmail.com> >>>> wrote: >>>> Im in a emergency situation here, I need to be able to prove that I can >>>> read write and show dynamic data from a mysql database before the end of >>>> the day. Im having a bit of trouble finding a guide to install the Mysql >>>> backend for Wt. Im NOT an expert on compiling my own libraries, but Im >>>> pretty good at following guides. I found the sourceforge site for >>>> wtdbomysql, but I can’t really see what to download there. Do anyone feel >>>> like helping me? >>>> >>>> ------------------------------------------------------------------------------ >>>> Flow-based real-time traffic analytics software. Cisco certified tool. >>>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>>> Customize your own dashboards, set traffic alerts and generate reports. >>>> Network behavioral analysis & security monitoring. All-in-one tool. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> witty-interest mailing list >>>> witty-interest@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/witty-interest >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Flow-based real-time traffic analytics software. Cisco certified tool. >>>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>>> Customize your own dashboards, set traffic alerts and generate reports. >>>> Network behavioral analysis & security monitoring. All-in-one tool. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________ >>>> witty-interest mailing list >>>> witty-interest@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/witty-interest >>> >>> >>> ------------------------------------------------------------------------------ >>> Flow-based real-time traffic analytics software. Cisco certified tool. >>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>> Customize your own dashboards, set traffic alerts and generate reports. >>> Network behavioral analysis & security monitoring. All-in-one tool. >>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> witty-interest mailing list >>> witty-interest@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/witty-interest >>> >>> >>> ------------------------------------------------------------------------------ >>> Flow-based real-time traffic analytics software. Cisco certified tool. >>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>> Customize your own dashboards, set traffic alerts and generate reports. >>> Network behavioral analysis & security monitoring. All-in-one tool. >>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________ >>> witty-interest mailing list >>> witty-interest@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/witty-interest >> >> >> ------------------------------------------------------------------------------ >> Flow-based real-time traffic analytics software. Cisco certified tool. >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >> Customize your own dashboards, set traffic alerts and generate reports. >> Network behavioral analysis & security monitoring. All-in-one tool. >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >> _______________________________________________ >> witty-interest mailing list >> witty-interest@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/witty-interest >> >> >> ------------------------------------------------------------------------------ >> Flow-based real-time traffic analytics software. Cisco certified tool. >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >> Customize your own dashboards, set traffic alerts and generate reports. >> Network behavioral analysis & security monitoring. All-in-one tool. >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________ >> witty-interest mailing list >> witty-interest@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/witty-interest >
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest