Sunday, October 7, 2012

Windows: Installing qwt library

Qwt is a Qt based library that extends the Qt API with plotting capabilities.

Installation


 I'm assuming you have already installed MinGW (GCC compiler) and the Qt library, if you haven't then check this post.

Next you'll need to add the MinGW binaries to the PATH environment variable, if you haven't done so. If you don't know how to edit environment variables, check this post.

Append "C:\mingw\bin" (use the correct directory path) to the PATH variable.

Append "C:\Qt\4.8.3\bin" to the PATH variable.

Grab the latest qwt source (zip version) from here.

Unzip the zip file, go inside the qwt folder and open the qwtconfig.pri file with a text editor.

Comment (i.e. add a '#' character to the leftmost side) the following line:

QWT_CONFIG     += QwtDesigner

Save and close the .pri file.

Now open a command line window and type the following commands:

cd C:\path\to\downloaded\qwt
qmake
make
make install

Note: Instead of  "C:\path\to\downloaded\qwt" use the correct path like "C:\Users\Jorge\Downloads\qwt-6.0.1"

A new folder will be created in the C:\ drive named qwt-6.0.1 or similar.

The final step is updating the environment variables, if you don't know/remember how check this post.

Append "C:\qwt-6.0.1\include" to CPLUS_INCLUDE_PATH
Append "C:\qwt-6.0.1\lib" to LIBRARY_PATH

Note:  You won't be able to see the qwt widgets in Qt designer with these installation steps. I haven't figured out yet how to enable that.

How to use qwt

Create a new Qt project in Qt creator, and add to the .pro file the next line:

Linking qwt library

Next, you'll need the library header files, all of them start with "qwt_". Add them where necessary as shown in the next image:

Including qwt header files.

Simple test


Let's do a very simple test and see if everything has been installed correctly. In your mainwindow.cpp source file type the next code:

Simple test source code.

Then run it, and you should see the following output.

Simple test output.

Other Examples


For more elaborated examples check qSerialTerm and ImageQ.

 ImageQ in Windows. Histogram was plotted using QwtPlot.

15 comments:

  1. Selling USA FRESH SPAMMED SSN Leads/Fullz, along with Driving License/ID Number with EXCELLENT connectivity.

    **PRICE**
    >>1$ FOR EACH FULLZ WITHOUT DL NUMBER
    >>2$ FOR EACH LEAD/FULLZ/PROFILE
    >>5$ FOR EACH PREMIUM LEAD/FULLZ/PROFILE

    **DETAILS IN EACH LEAD/FULLZ**

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER WITH EXPIRY DATE
    ->ADDRESS WITH ZIP
    ->PHONE NUMBER, EMAIL, I.P ADDRESS
    ->EMPLOYEE DETAILS
    ->REALTIONSHIP DETAILS
    ->MORTGAGE INFO
    ->BANK ACCOUNT DETAILS

    >All Leads are Tested & Verified.
    >Invalid info found, will be replaced.
    >Serious buyers will be welcome & I will give discounts on bulk orders.
    >Fresh spammed data of USA Credit Bureau
    >Good credit Scores, 700 minimum scores
    >Bulk order will be preferable
    >Minimum order 20 leads/fullz
    >Hope for the long term business
    >You can asked for samples, specific states & zips (if needed)
    >Payment mode BTC, ETH, LTC, Paypal & PERFECT MONEY

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ''OTHER GADGETS PROVIDING''

    >SSN Fullz
    >Dead Fullz
    >Carding Tutorials
    >Hacking Tutorials
    >SMTP Linux Root
    >DUMPS with pins track 1 and 2
    >Sock Tools
    >Server I.P's
    >USA emails with passwords (bulk order preferable)

    **Contact 24/7**

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ReplyDelete
  2. GOO=D DAY TO ALL

    Hello Everyone
    We are providing all types of
    *FULLZ
    *TOOLS
    *TUTORAILS
    *FULL PACAKGES

    For More Details Contact
    I:C:Q : 752822040
    Tele.Gram : @killhacks
    Wickr/Skype : peeterhacks

    HACK_ING TOOLS WITH TUTS
    SPA_MMING TOOLS, TUTS, Ebooks, Methods
    CA_RDING CAS_HOUT METHODS & GUIDES
    KALI_LINUX FULL
    SMTP's/RDP's/SHELLS/BRUTES
    SENDERS/MAILERS/SMS BOMBER
    D**P/D**K W_EB COMPLETE GUIDE WITH UPDATED WORKING ONION LINKS
    FR**D BI**E 2021-2022
    COMBOS/LOGS/PREMIUM LOGS

    Each & Everything you can asked, we'll provide
    Legit stuff with customer satisfaction
    Feel Free to contact

    I_C_Q : 7528_22040
    TE_LE_GRAM : @leadsupplier

    SSN DOB FULLZ
    SSN DOB DL FULLZ
    CC FULLZ WITH CVV
    DUMPS WITH PIN CODES (101/202)
    HIGH CREDIT SCORES FULLZ

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. you are spreading knowledge and it helps a people to understand the problem i apreciate your work

      JTAG

      Delete
  4. hey, after installing it you can gain Power BI Consulting. it will help you to create dashboards

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Just installed the Qwt library on Windows—smooth process if you follow the steps. For any health boosts while coding, check out Canapaks' Pink Himalayan salt and Turmeric Pills , available all over Canada!

    ReplyDelete
  7. Installing Qwt on Windows: Ensure MinGW and Qt are set up and paths are added. Download and configure Qwt, then install it. Update environment variables to include Qwt paths.

    For top-notch staffing and recruitment across Canada, choose Peel HR. As Google’s top-rated staffing agency , we provide excellent solutions for jobs in Canada.

    ReplyDelete
  8. Just as you need precise steps to install the Qwt library for Qt, finding the right snack machine is crucial for satisfying your cravings. At United Vending Machine, we offer a wide range of vending and ATM machines across Canada. For your
    snack machine near me needs, look no further—our solutions are just what you need!

    ReplyDelete
  9. Great guide on installing the Qwt library on Windows! It’s essential for anyone looking to enhance their Qt projects with plotting capabilities. At Recutify, we specialize in staffing solutions and job postings, helping companies find the right talent for their needs. Plus, understanding topics like whether stipends are taxable income in Canada is vital for employers and employees alike. Keep up the excellent work!

    ReplyDelete
  10. Installing Qwt for Windows extends Qt with powerful plotting features. At Recutify, a leading IT recruitment agency , we understand the importance of versatile skills in libraries like Qwt for roles in data visualization and software development.

    ReplyDelete
  11. Exploring how Kubernetes StatefulSets integrate with ZooKeeper using Kustomize is invaluable for targeting varied environments. Understanding such configurations parallels
    staffing IT
    teams for complex, multi-environment deployments. This tutorial emphasizes deploying ZooKeeper ensembles efficiently across local and real clusters, providing a comprehensive approach with detailed steps on base configs and overlays. Great for anyone managing stateful, clustered services!

    ReplyDelete
  12. Thanks for the detailed steps! For those working in
    staffing IT roles, this setup guide is super helpful, especially if you're new to configuring development environments. Also, if you're in the early stages of coding and earning, understanding the difference between https://recutify.com/stipend-vs-salary-understanding-the-tax-implications/ can be essential. Following these steps should make the process smoother!

    ReplyDelete
  13. This guide is a great resource for setting up MinGW with Qt and QWT. It’s similar to effective project management—clear steps lead to better results. Mastering these tech setups can boost your chances for higher IT jobs Toronto salary
    and project management salary Toronto. Great systems lead to great opportunities!

    ReplyDelete
  14. Proper setup and configuration make all the difference! At
    Recutify
    , we know the importance of precision, whether it’s coding or crafting the perfect job match.

    ReplyDelete