Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6180103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:47:18+00:00 2026-05-24T00:47:18+00:00

Hello I want to do something like this in my project project/ –sources/ —

  • 0

Hello I want to do something like this in my project

project/
--sources/ -- cpp, h
--forms/ -- ui
--build/ -- object files, mocs
--bin/ -- execute file will appear here
--scripts/ -- this folder should be copied in the bin/ folder after make
project.pro - pro-file

I use qtcreator, but I find nothing like this stuff. So I’ve tried to write *.pro file myself. Now I have something like

QT       += core gui

TARGET = project
TEMPLATE = app


SOURCES += src/main.cpp\
        src/mainwindow.cpp

HEADERS  += src/mainwindow.h

FORMS    += src/mainwindow.ui

But this is not enough. So I’m asking for help.

UPD: Also, there is some stuff for build dir in .pro.user, but I think it’s wrong way.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:47:19+00:00Added an answer on May 24, 2026 at 12:47 am

    Add this to the bottom of your file. This does everything you need. I listed two methods of copying the scripts to the bin directory. Credit for the second method goes to jwernerny. Ask if you have any questions.

    DESTDIR= ./bin          #adds the exe to bin
    MOC_DIR = ./build       # Deals with MOCS
    OBJECTS_DIR = ./build   #deals with objects
    

    #Two Methods for Copying the scripts over.

    dist.commands += cp -r ./scrpits ./bin 
    

    OR

    script_install.path = ./build
    script_install.files = ./scripts/*
    INSTALLS += script_install
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

if i have a string like <p>this is some content</p><script>alert('hello');</script> i want to get
Well I want something like this: for($i = 1; $i <=50; $i++){ $string_$i =
I want to do something like this, but in python : select * from
is there a way to do something like this? if ['hel','ell','orl'] in 'hello world'
Hello I want to make something like smoke simulator using iPhone mic. What is
I want to be able to do something like this: <uc:MyUC> <CustomContent> <span id=name>johnny
Hello can anybody solve this please I'm creating the object in the action class
Hello I'm writing a little project in c++ where I would like to have
I have a text string something like this: def ctext = This is the
I've written a small hello world test app in Silverlight which i want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.